Interface IDynamicModelElement
Deprecated.
Interface for blocks and items which can have a dynamic model.
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.resources.model.BakedModel
createDynamicModel
(net.neoforged.neoforge.client.event.ModelEvent.ModifyBakingResult event) Deprecated.Should return not null ifhasDynamicModel()
is true.boolean
Deprecated.
-
Method Details
-
hasDynamicModel
boolean hasDynamicModel()Deprecated.- Returns:
- If this block has a dynamic model.
-
createDynamicModel
net.minecraft.client.resources.model.BakedModel createDynamicModel(net.neoforged.neoforge.client.event.ModelEvent.ModifyBakingResult event) Deprecated.Should return not null ifhasDynamicModel()
is true. This will only be called once.- Parameters:
event
- The model bake event.- Returns:
- A dynamic model instance.
-