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 final ModelBakery
private final Map<String,
BakedModel> private final ItemOverrides
private final IModelConfiguration
private final 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 level, 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 level, @Nullable LivingEntity entity, int seed) - Overrides:
resolve
in classItemOverrides
-