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 IModelpublic java.util.Collection<ResourceLocation> getTextures()
getTextures in interface IModelpublic IModelState getDefaultState()
getDefaultState in interface IModelpublic ItemLayerModel retexture(<any> textures)
IRetexturableModelretexture in interface IRetexturableModeltextures - Newpublic IBakedModel bake(IModelState state, VertexFormat format, <any> bakedTextureGetter)
public static <any> getQuadsForSprite(int tint,
TextureAtlasSprite sprite,
VertexFormat format,
<any> transform)