| 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,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
static <any> |
getQuadsForSprite(int tint,
TextureAtlasSprite sprite,
VertexFormat format,
java.util.Optional<TRSRTransformation> transform) |
java.util.Collection<ResourceLocation> |
getTextures() |
ItemLayerModel |
retexture(<any> textures)
Applies new textures to the model.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasVanillaModel, getClip, getDefaultState, getDependencies, gui3d, process, smoothLighting, uvlockpublic static final ItemLayerModel INSTANCE
public ItemLayerModel(<any> textures)
public ItemLayerModel(<any> textures,
ItemOverrideList overrides)
public java.util.Collection<ResourceLocation> getTextures()
getTextures in interface IModelpublic ItemLayerModel retexture(<any> textures)
IModelpublic IBakedModel bake(IModelState state, VertexFormat format, java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter)
public static <any> getQuadsForSprite(int tint,
TextureAtlasSprite sprite,
VertexFormat format,
java.util.Optional<TRSRTransformation> transform)