public final class AnimationItemOverrideList extends ItemOverrideList
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<ResourceLocation,TextureAtlasSprite> |
bakedTextureGetter |
private VertexFormat |
format |
private IModel |
model |
private IModelState |
state |
NONE
Constructor and Description |
---|
AnimationItemOverrideList(IModel model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
ItemOverrideList overrides) |
AnimationItemOverrideList(IModel model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
java.util.List<ItemOverride> overrides) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
handleItemState(IBakedModel originalModel,
ItemStack stack,
World world,
EntityLivingBase entity) |
applyOverride, getOverrides
private final IModel model
private final IModelState state
private final VertexFormat format
private final java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter
public AnimationItemOverrideList(IModel model, IModelState state, VertexFormat format, java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter, ItemOverrideList overrides)
public AnimationItemOverrideList(IModel model, IModelState state, VertexFormat format, java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter, java.util.List<ItemOverride> overrides)
public IBakedModel handleItemState(IBakedModel originalModel, ItemStack stack, @Nullable World world, @Nullable EntityLivingBase entity)
handleItemState
in class ItemOverrideList