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().climate()Samples Minecraft's climate values at this context's position.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.
-
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
-
climate
Samples Minecraft's climate values at this context's position.- Returns:
- the sampled climate point
- Since:
- 3.3.0
-