Package net.minecraftforge.client.model
Class DynamicFluidContainerModel.ContainedFluidOverrideHandler
java.lang.Object
net.minecraft.client.renderer.block.model.ItemOverrides
net.minecraftforge.client.model.DynamicFluidContainerModel.ContainedFluidOverrideHandler
- Enclosing class:
DynamicFluidContainerModel
private static final class DynamicFluidContainerModel.ContainedFluidOverrideHandler
extends ItemOverrides
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.block.model.ItemOverrides
ItemOverrides.BakedOverride
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelBaker
private final Map
<String, BakedModel> private final ItemOverrides
private final IGeometryBakingContext
private final DynamicFluidContainerModel
Fields inherited from class net.minecraft.client.renderer.block.model.ItemOverrides
EMPTY, NO_OVERRIDE
-
Constructor Summary
ModifierConstructorDescriptionprivate
ContainedFluidOverrideHandler
(ItemOverrides nested, ModelBaker baker, IGeometryBakingContext owner, DynamicFluidContainerModel parent) -
Method Summary
Modifier and TypeMethodDescriptionresolve
(BakedModel originalModel, ItemStack stack, @Nullable ClientLevel level, @Nullable LivingEntity entity, int seed) Methods inherited from class net.minecraft.client.renderer.block.model.ItemOverrides
getOverrides
-
Field Details
-
cache
-
nested
-
baker
-
owner
-
parent
-
-
Constructor Details
-
ContainedFluidOverrideHandler
private ContainedFluidOverrideHandler(ItemOverrides nested, ModelBaker baker, IGeometryBakingContext owner, DynamicFluidContainerModel parent)
-
-
Method Details
-
resolve
public BakedModel resolve(BakedModel originalModel, ItemStack stack, @Nullable @Nullable ClientLevel level, @Nullable @Nullable LivingEntity entity, int seed) - Overrides:
resolve
in classItemOverrides
-