public final class AnimationItemOverrideList extends ItemOverrideList
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<Material,TextureAtlasSprite> |
bakedTextureGetter |
private ModelBakery |
bakery |
private IUnbakedModel |
model |
private ResourceLocation |
modelLoc |
private IModelTransform |
state |
EMPTY
Constructor and Description |
---|
AnimationItemOverrideList(ModelBakery bakery,
IUnbakedModel model,
ResourceLocation modelLoc,
IModelTransform state,
java.util.function.Function<Material,TextureAtlasSprite> bakedTextureGetter,
ItemOverrideList overrides) |
AnimationItemOverrideList(ModelBakery bakery,
IUnbakedModel model,
ResourceLocation modelLoc,
IModelTransform state,
java.util.function.Function<Material,TextureAtlasSprite> bakedTextureGetter,
java.util.List<ItemOverride> overrides) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
getModelWithOverrides(IBakedModel originalModel,
ItemStack stack,
World world,
LivingEntity entity) |
getOverrides
private final ModelBakery bakery
private final IUnbakedModel model
private final ResourceLocation modelLoc
private final IModelTransform state
private final java.util.function.Function<Material,TextureAtlasSprite> bakedTextureGetter
public AnimationItemOverrideList(ModelBakery bakery, IUnbakedModel model, ResourceLocation modelLoc, IModelTransform state, java.util.function.Function<Material,TextureAtlasSprite> bakedTextureGetter, ItemOverrideList overrides)
public AnimationItemOverrideList(ModelBakery bakery, IUnbakedModel model, ResourceLocation modelLoc, IModelTransform state, java.util.function.Function<Material,TextureAtlasSprite> bakedTextureGetter, java.util.List<ItemOverride> overrides)
public IBakedModel getModelWithOverrides(IBakedModel originalModel, ItemStack stack, @Nullable World world, @Nullable LivingEntity entity)
getModelWithOverrides
in class ItemOverrideList