Interface BlockStateResolver.Context

Enclosing interface:
BlockStateResolver

@NonExtendable public static interface BlockStateResolver.Context
The context for block state resolution.
  • Method Summary

    Modifier and Type
    Method
    Description
    The block for which block state models are being resolved.
    void
    Sets the model for a block state.
  • Method Details

    • block

      Block block()
      The block for which block state models are being resolved.
    • setModel

      void setModel(BlockState state, UnbakedModel model)
      Sets the model for a block state.
      Parameters:
      state - the block state for which this model should be used
      model - the unbaked model for this block state