Class BiomeMath
java.lang.Object
com.sk89q.worldedit.internal.util.BiomeMath
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
computeBiomeIndex
(int x, int y, int z, int minY, int maxY) Compute the index into the MC biome array, for extended-height worlds.
-
Field Details
-
HORIZONTAL_SECTION_COUNT
public static final int HORIZONTAL_SECTION_COUNT -
HORIZONTAL_BIT_MASK
public static final int HORIZONTAL_BIT_MASK
-
-
Method Details
-
computeBiomeIndex
public static int computeBiomeIndex(int x, int y, int z, int minY, int maxY) Compute the index into the MC biome array, for extended-height worlds.- Parameters:
x
- the block x coordinatey
- the block y coordinatez
- the block z coordinateminY
- minimum y of the worldmaxY
- maximum y of the world- Returns:
- the index into the standard MC biome array
-