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, wait
asVanillaModel, getClip, getDefaultState, getDependencies, gui3d, process, smoothLighting, uvlock
public static final ItemLayerModel INSTANCE
public ItemLayerModel(<any> textures)
public ItemLayerModel(<any> textures, ItemOverrideList overrides)
public java.util.Collection<ResourceLocation> getTextures()
getTextures
in interface IModel
public ItemLayerModel retexture(<any> textures)
IModel
public 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)