public interface IModel
Modifier and Type | Method and Description |
---|---|
IBakedModel |
bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
default java.util.Optional<? extends IClip> |
getClip(java.lang.String name) |
default IModelState |
getDefaultState() |
default java.util.Collection<ResourceLocation> |
getDependencies() |
default java.util.Collection<ResourceLocation> |
getTextures() |
default IModel |
gui3d(boolean value) |
default IModel |
process(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData)
Allows the model to process custom data from the variant definition.
|
default IModel |
retexture(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textures)
Applies new textures to the model.
|
default IModel |
smoothLighting(boolean value) |
default IModel |
uvlock(boolean value) |
default java.util.Collection<ResourceLocation> getDependencies()
default java.util.Collection<ResourceLocation> getTextures()
IBakedModel bake(IModelState state, VertexFormat format, java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter)
default IModelState getDefaultState()
default java.util.Optional<? extends IClip> getClip(java.lang.String name)
default IModel process(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData)
default IModel smoothLighting(boolean value)
default IModel gui3d(boolean value)
default IModel uvlock(boolean value)
default IModel retexture(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textures)
textures
- New