public class ItemLayerModel extends java.lang.Object implements IRetexturableModel<ItemLayerModel>
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemLayerModel.BakedModel
Deprecated.
|
static class |
ItemLayerModel.Loader |
| Modifier and Type | Field and Description |
|---|---|
static ItemLayerModel |
instance |
| Constructor and Description |
|---|
ItemLayerModel(<any> textures) |
| Modifier and Type | Method and Description |
|---|---|
IFlexibleBakedModel |
bake(IModelState state,
VertexFormat format,
<any> bakedTextureGetter) |
IModelState |
getDefaultState() |
java.util.Collection<ResourceLocation> |
getDependencies() |
<any> |
getQuadsForSprite(int tint,
TextureAtlasSprite sprite,
VertexFormat format,
<any> transform) |
java.util.Collection<ResourceLocation> |
getTextures() |
protected boolean |
isTransparent(int[] pixels,
int uMax,
int vMax,
int u,
int v) |
IModel |
retexture(<any> textures)
Applies new textures to the model.
|
public static final ItemLayerModel instance
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 IModel retexture(<any> textures)
IRetexturableModelretexture in interface IRetexturableModel<ItemLayerModel>textures - Newpublic IFlexibleBakedModel bake(IModelState state, VertexFormat format, <any> bakedTextureGetter)
public <any> getQuadsForSprite(int tint,
TextureAtlasSprite sprite,
VertexFormat format,
<any> transform)
protected boolean isTransparent(int[] pixels,
int uMax,
int vMax,
int u,
int v)