Interface ModelModifier.BeforeBakeBlock.Context
- Enclosing interface:
ModelModifier.BeforeBakeBlock
@NonExtendable
public static interface ModelModifier.BeforeBakeBlock.Context
The context for a before bake block model modification event.
-
Method Summary
-
Method Details
-
state
net.minecraft.world.level.block.state.BlockState state()The corresponding block state of the model being baked. -
baker
net.minecraft.client.resources.model.ModelBaker baker()The baker being used to bake this model. It can be used to get resolved models and get sprites. Note that retrieving a model which was not previously discovered will log a warning and return the missing model.
-