public final class ItemLayerModel extends java.lang.Object implements IRetexturableModel
Modifier and Type | Class and Description |
---|---|
static class |
ItemLayerModel.Loader |
Modifier and Type | Field and Description |
---|---|
static ItemLayerModel |
INSTANCE |
Constructor and Description |
---|
ItemLayerModel(<any> textures) |
ItemLayerModel(<any> textures,
ItemOverrideList overrides) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
bake(IModelState state,
VertexFormat format,
<any> bakedTextureGetter) |
IModelState |
getDefaultState() |
java.util.Collection<ResourceLocation> |
getDependencies() |
static <any> |
getQuadsForSprite(int tint,
TextureAtlasSprite sprite,
VertexFormat format,
<any> transform) |
java.util.Collection<ResourceLocation> |
getTextures() |
ItemLayerModel |
retexture(<any> textures)
Applies new textures to the model.
|
public static final ItemLayerModel INSTANCE
public ItemLayerModel(<any> textures)
public ItemLayerModel(<any> textures, ItemOverrideList overrides)
public java.util.Collection<ResourceLocation> getDependencies()
getDependencies
in interface IModel
public java.util.Collection<ResourceLocation> getTextures()
getTextures
in interface IModel
public IModelState getDefaultState()
getDefaultState
in interface IModel
public ItemLayerModel retexture(<any> textures)
IRetexturableModel
retexture
in interface IRetexturableModel
textures
- Newpublic IBakedModel bake(IModelState state, VertexFormat format, <any> bakedTextureGetter)
public static <any> getQuadsForSprite(int tint, TextureAtlasSprite sprite, VertexFormat format, <any> transform)