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