Interface UnderwaterMagmaConfiguration

All Superinterfaces:
FeatureConfiguration, Wrapper

@NullMarked @AsOf("3.0.1") public interface UnderwaterMagmaConfiguration extends FeatureConfiguration
A feature that places magma blocks below water, along the floor of an ocean or similar body of water.
Since:
3.0.1
See Also:
  • Method Details

    • floorSearchRange

      @AsOf("3.0.1") int floorSearchRange()
      How far down the feature searches for a floor, between 0 and 512.
      Returns:
      the floor search range
      Since:
      3.0.1
    • placementRadiusAroundFloor

      @AsOf("3.0.1") int placementRadiusAroundFloor()
      The radius around the found floor in which magma may be placed, between 0 and 64.
      Returns:
      the placement radius around the floor
      Since:
      3.0.1
    • placementProbabilityPerValidPosition

      @AsOf("3.0.1") float placementProbabilityPerValidPosition()
      The chance of placing magma at each valid position, between 0.0 and 1.0.
      Returns:
      the placement probability per valid position
      Since:
      3.0.1
    • toBuilder

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

      @AsOf("3.0.1") static UnderwaterMagmaConfiguration of(int floorSearchRange, int placementRadiusAroundFloor, float placementProbabilityPerValidPosition)
      Creates a new underwater magma configuration.
      Parameters:
      floorSearchRange - how far down the feature searches for a floor, between 0 and 512
      placementRadiusAroundFloor - the radius around the found floor in which magma may be placed, between 0 and 64
      placementProbabilityPerValidPosition - the chance of placing magma at each valid position, between 0.0 and 1.0
      Returns:
      a new underwater magma configuration
      Since:
      3.0.1
    • builder

      @AsOf("3.0.1") static UnderwaterMagmaConfiguration.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.1