Interface ReplaceSphereConfiguration

All Superinterfaces:
FeatureConfiguration, Wrapper

@NullMarked @AsOf("3.0.0") public interface ReplaceSphereConfiguration extends FeatureConfiguration
A replacement sphere configuration.
Since:
3.0.0
  • Method Details

    • targetState

      @AsOf("3.0.0") BlockData targetState()
      The block state that is replaced within the sphere.
      Returns:
      the target block state
      Since:
      3.0.0
    • replaceState

      @AsOf("3.0.0") BlockData replaceState()
      The block state the target is replaced with.
      Returns:
      the replacement block state
      Since:
      3.0.0
    • radius

      @AsOf("3.0.0") IntProvider radius()
      The radius of the sphere. Value between 0 and 12.
      Returns:
      the radius
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default ReplaceSphereConfiguration.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 ReplaceSphereConfiguration of(BlockData targetState, BlockData replaceState, IntProvider radius)
      Creates a new replace sphere configuration.
      Parameters:
      targetState - the block state that is replaced within the sphere
      replaceState - the block state the target is replaced with
      radius - the radius of the sphere
      Returns:
      a new replace sphere configuration
      Since:
      3.0.0
    • builder

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