Interface BlockStateConfiguration

All Superinterfaces:
FeatureConfiguration, Wrapper

@NullMarked @AsOf("3.0.0") public interface BlockStateConfiguration extends FeatureConfiguration
Abstract block state configuration.
Since:
3.0.0
  • Method Details

    • state

      @AsOf("3.0.0") BlockData state()
      The block state used by this configuration.
      Returns:
      the block state
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default BlockStateConfiguration.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a builder with the same values as this object
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static BlockStateConfiguration of(BlockData state)
      Creates a new block state configuration.
      Parameters:
      state - the block state used by this configuration
      Returns:
      a new block state configuration
      Since:
      3.0.0
    • builder

      @AsOf("3.0.0") static BlockStateConfiguration.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0