Interface RotatedBlockProvider

All Superinterfaces:
BlockStateProvider, Wrapper

@NullMarked @AsOf("3.0.0") public interface RotatedBlockProvider extends BlockStateProvider
Randomly rotates axially rotatable blocks, such as logs, chain.
Since:
3.0.0
See Also:
  • Method Details

    • state

      @AsOf("3.0.0") Material state()
      The block state.
      Returns:
      the block state
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static RotatedBlockProvider of(Material state)
      Creates a new rotated block provider.
      Parameters:
      state - the block state
      Returns:
      a new rotated block provider
      Since:
      3.0.0