Interface ClimatePoint

All Superinterfaces:
Wrapper

@NullMarked @AsOf("2.3.0") public interface ClimatePoint extends Wrapper
Wraps Minecraft's BiomeClimatePoint.
Since:
2.3.0
  • Field Details

  • Method Details

    • temperature

      @AsOf("2.3.0") ClimateParameter temperature()
      The temperature axis span.
      Returns:
      the temperature parameter
      Since:
      2.3.0
    • humidity

      @AsOf("2.3.0") ClimateParameter humidity()
      The humidity axis span.
      Returns:
      the humidity parameter
      Since:
      2.3.0
    • continentalness

      @AsOf("2.3.0") ClimateParameter continentalness()
      The continentalness axis span.
      Returns:
      the continentalness parameter
      Since:
      2.3.0
    • erosion

      @AsOf("2.3.0") ClimateParameter erosion()
      The erosion axis span.
      Returns:
      the erosion parameter
      Since:
      2.3.0
    • depth

      @AsOf("2.3.0") ClimateParameter depth()
      The depth axis span.
      Returns:
      the depth parameter
      Since:
      2.3.0
    • weirdness

      @AsOf("2.3.0") ClimateParameter weirdness()
      The weirdness axis span.
      Returns:
      the weirdness parameter
      Since:
      2.3.0
    • offset

      @AsOf("2.3.0") float offset()
      The constant fitness offset between 0.0 and 1.0.
      Returns:
      the offset
      Since:
      2.3.0
    • toBuilder

      @AsOf("2.4.1") default ClimatePoint.Builder toBuilder()
      Creates a new builder with the same values as this point.
      Returns:
      a new builder with the same values as this point
      Since:
      2.4.1
    • builder

      @AsOf("2.3.0") static ClimatePoint.Builder builder()
      Creates a builder for a climate point. Unset axes span the full range.
      Returns:
      a new builder
      Since:
      2.3.0
    • of

      @AsOf("2.4.1") static ClimatePoint of(ClimateParameter temperature, ClimateParameter humidity, ClimateParameter continentalness, ClimateParameter erosion, ClimateParameter depth, ClimateParameter weirdness, float offset)
      Creates a climate point with the given parameters.
      Parameters:
      temperature - the temperature parameter
      humidity - the humidity parameter
      continentalness - the continentalness parameter
      erosion - the erosion parameter
      depth - the depth parameter
      weirdness - the weirdness parameter
      offset - the fitness offset
      Returns:
      a new climate point
      Since:
      2.4.1
    • of

      @AsOf("2.3.0") static ClimatePoint of(float temperature, float humidity, float continentalness, float erosion, float depth, float weirdness, float offset)
      Creates a climate point pinned to a single value on every axis.
      Parameters:
      temperature - the temperature value
      humidity - the humidity value
      continentalness - the continentalness value
      erosion - the erosion value
      depth - the depth value
      weirdness - the weirdness value
      offset - the fitness offset
      Returns:
      a new climate point
      Since:
      2.3.0
    • spanAll

      @AsOf("2.4.1") static ClimatePoint spanAll(float offset)
      Creates a climate point that spans the full range on every axis.
      Parameters:
      offset - the fitness offset
      Returns:
      a new climate point
      Since:
      2.4.1