Interface BiomeSourceContext
The sampling context handed to a
CustomBiomeSource while Minecraft determines a biome.
Coordinates supplied by Minecraft are quart positions, where one unit represents four blocks.- Since:
- 3.3.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault intblockX()Gets the block-coordinate represented byquartX().default intblockY()Gets the block-coordinate represented byquartY().default intblockZ()Gets the block-coordinate represented byquartZ().Gets the ranges produced by Minecraft's climate sampler as a climate point.intquartX()Gets the quart-coordinate on the x-axis.intquartY()Gets the quart-coordinate on the y-axis.intquartZ()Gets the quart-coordinate on the z-axis.Gets the spawn-target climate points carried by Minecraft's climate sampler.
-
Method Details
-
quartX
Gets the quart-coordinate on the x-axis.- Returns:
- the quart x-coordinate
- Since:
- 3.3.0
-
quartY
Gets the quart-coordinate on the y-axis.- Returns:
- the quart y-coordinate
- Since:
- 3.3.0
-
quartZ
Gets the quart-coordinate on the z-axis.- Returns:
- the quart z-coordinate
- Since:
- 3.3.0
-
blockX
-
blockY
-
blockZ
-
climateBounds
Gets the ranges produced by Minecraft's climate sampler as a climate point.- Returns:
- the climate sampler ranges
- Since:
- 3.3.0
-
spawnTarget
Gets the spawn-target climate points carried by Minecraft's climate sampler.- Returns:
- the spawn-target climate points
- Since:
- 3.3.0
-