Class AnimationItemOverrideList
- java.lang.Object
-
- net.minecraft.client.renderer.model.ItemOverrideList
-
- net.minecraftforge.client.model.animation.AnimationItemOverrideList
-
public final class AnimationItemOverrideList extends ItemOverrideList
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.Function<RenderMaterial,TextureAtlasSprite>
bakedTextureGetter
private ModelBakery
bakery
private IUnbakedModel
model
private ResourceLocation
modelLoc
private IModelTransform
state
-
Fields inherited from class net.minecraft.client.renderer.model.ItemOverrideList
EMPTY
-
-
Constructor Summary
Constructors Constructor Description AnimationItemOverrideList(ModelBakery bakery, IUnbakedModel model, ResourceLocation modelLoc, IModelTransform state, java.util.function.Function<RenderMaterial,TextureAtlasSprite> bakedTextureGetter, java.util.List<ItemOverride> overrides)
AnimationItemOverrideList(ModelBakery bakery, IUnbakedModel model, ResourceLocation modelLoc, IModelTransform state, java.util.function.Function<RenderMaterial,TextureAtlasSprite> bakedTextureGetter, ItemOverrideList overrides)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IBakedModel
resolve(IBakedModel originalModel, ItemStack stack, ClientWorld world, LivingEntity entity)
-
Methods inherited from class net.minecraft.client.renderer.model.ItemOverrideList
getOverrides
-
-
-
-
Field Detail
-
bakery
private final ModelBakery bakery
-
model
private final IUnbakedModel model
-
modelLoc
private final ResourceLocation modelLoc
-
state
private final IModelTransform state
-
bakedTextureGetter
private final java.util.function.Function<RenderMaterial,TextureAtlasSprite> bakedTextureGetter
-
-
Constructor Detail
-
AnimationItemOverrideList
public AnimationItemOverrideList(ModelBakery bakery, IUnbakedModel model, ResourceLocation modelLoc, IModelTransform state, java.util.function.Function<RenderMaterial,TextureAtlasSprite> bakedTextureGetter, ItemOverrideList overrides)
-
AnimationItemOverrideList
public AnimationItemOverrideList(ModelBakery bakery, IUnbakedModel model, ResourceLocation modelLoc, IModelTransform state, java.util.function.Function<RenderMaterial,TextureAtlasSprite> bakedTextureGetter, java.util.List<ItemOverride> overrides)
-
-
Method Detail
-
resolve
public IBakedModel resolve(IBakedModel originalModel, ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity entity)
- Overrides:
resolve
in classItemOverrideList
-
-