Package net.minecraftforge.client.model
Class DynamicBucketModel.ContainedFluidOverrideHandler
java.lang.Object
net.minecraft.client.renderer.block.model.ItemOverrides
net.minecraftforge.client.model.DynamicBucketModel.ContainedFluidOverrideHandler
- Enclosing class:
- DynamicBucketModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.block.model.ItemOverrides
ItemOverrides.BakedOverride
-
Field Summary
Modifier and TypeFieldDescriptionprivate ModelBakery
private Map<String,BakedModel>
private ItemOverrides
private IModelConfiguration
private DynamicBucketModel
Fields inherited from class net.minecraft.client.renderer.block.model.ItemOverrides
EMPTY
-
Constructor Summary
ModifierConstructorDescriptionprivate
ContainedFluidOverrideHandler(ItemOverrides nested, ModelBakery bakery, IModelConfiguration owner, DynamicBucketModel parent)
-
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
-
cache
-
nested
-
bakery
-
owner
-
parent
-
-
Constructor Details
-
ContainedFluidOverrideHandler
private ContainedFluidOverrideHandler(ItemOverrides nested, ModelBakery bakery, IModelConfiguration owner, DynamicBucketModel parent)
-
-
Method Details
-
resolve
public BakedModel resolve(BakedModel originalModel, ItemStack stack, @Nullable ClientLevel world, @Nullable LivingEntity entity, int seed)- Overrides:
resolve
in classItemOverrides
-