Interface BlockStateResolver.Context
- Enclosing interface:
BlockStateResolver
@NonExtendable
public static interface BlockStateResolver.Context
The context for block state resolution.
-
Method Summary
Modifier and TypeMethodDescriptionblock()
The block for which block state models are being resolved.void
setModel
(BlockState state, UnbakedModel model) Sets the model for a block state.
-
Method Details
-
block
Block block()The block for which block state models are being resolved. -
setModel
Sets the model for a block state.- Parameters:
state
- the block state for which this model should be usedmodel
- the unbaked model for this block state
-