Interface NoiseRouter
- All Superinterfaces:
Wrapper
The density-function routes used by Minecraft 26.3 terrain generation.
Aquifer density functions are represented separately by
AquiferSettings.- Since:
- 2.4.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic NoiseRouter.Builderbuilder()Creates a new noise router builder.The density function used to estimate the terrain surface level in a chunk.The density function used for the continentalness climate axis.static NoiseRouterReads a Minecraft noise router.depth()The density function used for the depth climate axis.erosion()The density function used for the erosion climate axis.The final density function used to decide whether terrain is solid.static NoiseRouterof(DensityFunction temperature, DensityFunction vegetation, DensityFunction continents, DensityFunction erosion, DensityFunction depth, DensityFunction ridges, DensityFunction chunkSurfaceLevel, DensityFunction finalDensity) Creates a noise router.ridges()The density function used for the ridges climate axis.The density function used for the temperature climate axis.default NoiseRouter.BuilderConverts this noise router back to a builder.The density function used for the vegetation climate axis.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
temperature
The density function used for the temperature climate axis.- Returns:
- the temperature density function
- Since:
- 2.4.0
-
vegetation
The density function used for the vegetation climate axis.- Returns:
- the vegetation density function
- Since:
- 2.4.0
-
continents
The density function used for the continentalness climate axis.- Returns:
- the continentalness density function
- Since:
- 2.4.0
-
erosion
The density function used for the erosion climate axis.- Returns:
- the erosion density function
- Since:
- 2.4.0
-
depth
The density function used for the depth climate axis.- Returns:
- the depth density function
- Since:
- 2.4.0
-
ridges
The density function used for the ridges climate axis.- Returns:
- the ridges density function
- Since:
- 2.4.0
-
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
The final density function used to decide whether terrain is solid.- Returns:
- the final terrain density function
- Since:
- 2.4.0
-
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 functionvegetation- the vegetation density functioncontinents- the continentalness density functionerosion- the erosion density functiondepth- the depth density functionridges- the ridges density functionchunkSurfaceLevel- the chunk surface-level density functionfinalDensity- the final terrain density function- Returns:
- a new noise router
- Since:
- 4.0.0
-
decode
Reads a Minecraft noise router.- Parameters:
minecraftRouter- the Minecraft noise router to read- Returns:
- the decoded noise router
- Since:
- 3.3.0
-
builder
Creates a new noise router builder.- Returns:
- a new builder
- Since:
- 2.4.0
-