Interface BiomeAttributes


public interface BiomeAttributes
Attributes with which biomes are picked for during world generation.
  • Method Details

    • point

      static BiomeAttributes point(float temperature, float humidity, float continentalness, float erosion, float depth, float weirdness, float offset)
    • range

      static BiomeAttributes range(Range<Float> temperature, Range<Float> humidity, Range<Float> continentalness, Range<Float> erosion, Range<Float> depth, Range<Float> weirdness, float offset)
    • defaultAttributes

      static Optional<BiomeAttributes> defaultAttributes(RegistryReference<Biome> biome)
    • temperature

      Range<Float> temperature()
      The temperature range.

      In Vanilla Minecraft, this is capped between -2 to 2.

      Returns:
      temperature
    • humidity

      Range<Float> humidity()
      The humidity range.

      In Vanilla Minecraft, this is capped between -2 to 2.

      Returns:
      humidity
    • continentalness

      Range<Float> continentalness()
      The continentalness.

      Higher value when more inland. For low values oceans may generate.

      Returns:
      continentalness
    • erosion

      Range<Float> erosion()
      The erosion.

      Higher values result in flatter areas, low values result in mountainous areas.

      Returns:
      erosion
    • depth

      Range<Float> depth()
      The depth.
      Returns:
      the depth.
    • weirdness

      Range<Float> weirdness()
      Gets the weirdness.

      In Vanilla Minecraft, this is capped between -2 to 2.

      Returns:
      weirdness
    • offset

      float offset()
      The offset.

      In Vanilla Minecraft, this is capped between 0 to 1.

      Returns:
      offset