Class AnimationItemOverrideList
java.lang.Object
net.minecraft.client.renderer.block.model.ItemOverrides
net.minecraftforge.client.model.animation.AnimationItemOverrideList
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.block.model.ItemOverrides
ItemOverrides.BakedOverride
-
Field Summary
Modifier and TypeFieldDescriptionprivate Function<Material,TextureAtlasSprite>
private ModelBakery
private UnbakedModel
private ResourceLocation
private ModelState
Fields inherited from class net.minecraft.client.renderer.block.model.ItemOverrides
EMPTY
-
Constructor Summary
ConstructorDescriptionAnimationItemOverrideList(ModelBakery bakery, UnbakedModel model, ResourceLocation modelLoc, ModelState state, Function<Material,TextureAtlasSprite> bakedTextureGetter, List<ItemOverride> overrides)
-
Method Summary
Modifier and TypeMethodDescriptionresolve(BakedModel originalModel, ItemStack stack, ClientLevel world, LivingEntity entity, int seed)
Methods inherited from class net.minecraft.client.renderer.block.model.ItemOverrides
getOverrides
-
Field Details
-
bakery
-
model
-
modelLoc
-
state
-
bakedTextureGetter
-
-
Constructor Details
-
AnimationItemOverrideList
public AnimationItemOverrideList(ModelBakery bakery, UnbakedModel model, ResourceLocation modelLoc, ModelState state, Function<Material,TextureAtlasSprite> bakedTextureGetter, List<ItemOverride> overrides)
-
-
Method Details
-
resolve
public BakedModel resolve(BakedModel originalModel, ItemStack stack, @Nullable ClientLevel world, @Nullable LivingEntity entity, int seed)- Overrides:
resolve
in classItemOverrides
-