Modifier and Type | Class and Description |
---|---|
static class |
MultiLayerModel.Loader |
Modifier and Type | Field and Description |
---|---|
static MultiLayerModel |
INSTANCE |
Constructor and Description |
---|
MultiLayerModel(com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,ModelResourceLocation> models) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
java.util.Collection<ResourceLocation> |
getDependencies() |
MultiLayerModel |
process(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData)
Allows the model to process custom data from the variant definition.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClip, getDefaultState, getTextures, gui3d, retexture, smoothLighting, uvlock
public static final MultiLayerModel INSTANCE
public MultiLayerModel(com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,ModelResourceLocation> models)
public java.util.Collection<ResourceLocation> getDependencies()
getDependencies
in interface IModel
public IBakedModel bake(IModelState state, VertexFormat format, java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter)
public MultiLayerModel process(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData)
IModel