Interface NoiseRouter

All Superinterfaces:
Wrapper

@NullMarked @AsOf("2.4.0") public interface NoiseRouter extends Wrapper
The density-function routes used by Minecraft 26.3 terrain generation. Aquifer density functions are represented separately by AquiferSettings.
Since:
2.4.0
  • Method Details

    • temperature

      @AsOf("2.4.0") DensityFunction temperature()
      The density function used for the temperature climate axis.
      Returns:
      the temperature density function
      Since:
      2.4.0
    • vegetation

      @AsOf("2.4.0") DensityFunction vegetation()
      The density function used for the vegetation climate axis.
      Returns:
      the vegetation density function
      Since:
      2.4.0
    • continents

      @AsOf("2.4.0") DensityFunction continents()
      The density function used for the continentalness climate axis.
      Returns:
      the continentalness density function
      Since:
      2.4.0
    • erosion

      @AsOf("2.4.0") DensityFunction erosion()
      The density function used for the erosion climate axis.
      Returns:
      the erosion density function
      Since:
      2.4.0
    • depth

      @AsOf("2.4.0") DensityFunction depth()
      The density function used for the depth climate axis.
      Returns:
      the depth density function
      Since:
      2.4.0
    • ridges

      @AsOf("2.4.0") DensityFunction ridges()
      The density function used for the ridges climate axis.
      Returns:
      the ridges density function
      Since:
      2.4.0
    • chunkSurfaceLevel

      @AsOf("4.0.0") DensityFunction chunkSurfaceLevel()
      The density function used to estimate the terrain surface level in a chunk.
      Returns:
      the chunk surface-level density function
      Since:
      4.0.0
    • finalDensity

      @AsOf("2.4.0") DensityFunction finalDensity()
      The final density function used to decide whether terrain is solid.
      Returns:
      the final terrain density function
      Since:
      2.4.0
    • toBuilder

      @AsOf("3.0.0") default NoiseRouter.Builder toBuilder()
      Converts this noise router back to a builder.
      Returns:
      a builder containing this router's values
      Since:
      3.0.0
    • of

      @AsOf("4.0.0") static NoiseRouter of(DensityFunction temperature, DensityFunction vegetation, DensityFunction continents, DensityFunction erosion, DensityFunction depth, DensityFunction ridges, DensityFunction chunkSurfaceLevel, DensityFunction finalDensity)
      Creates a noise router.
      Parameters:
      temperature - the temperature density function
      vegetation - the vegetation density function
      continents - the continentalness density function
      erosion - the erosion density function
      depth - the depth density function
      ridges - the ridges density function
      chunkSurfaceLevel - the chunk surface-level density function
      finalDensity - the final terrain density function
      Returns:
      a new noise router
      Since:
      4.0.0
    • decode

      @AsOf("3.3.0") static NoiseRouter decode(Object minecraftRouter)
      Reads a Minecraft noise router.
      Parameters:
      minecraftRouter - the Minecraft noise router to read
      Returns:
      the decoded noise router
      Since:
      3.3.0
    • builder

      @AsOf("2.4.0") static NoiseRouter.Builder builder()
      Creates a new noise router builder.
      Returns:
      a new builder
      Since:
      2.4.0