Class BiomeMath
java.lang.Object
com.sk89q.worldedit.internal.util.BiomeMath
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
static int
static int
static int
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
computeBiomeIndex(int x, int y, int z)
Compute the index into the MC biome array.
-
Field Details
-
HORIZONTAL_SECTION_COUNT
public static final int HORIZONTAL_SECTION_COUNT -
VERTICAL_SECTION_COUNT
public static final int VERTICAL_SECTION_COUNT -
HORIZONTAL_BIT_MASK
public static final int HORIZONTAL_BIT_MASK -
VERTICAL_BIT_MASK
public static final int VERTICAL_BIT_MASK
-
-
Method Details
-
computeBiomeIndex
public static int computeBiomeIndex(int x, int y, int z)Compute the index into the MC biome array.- Parameters:
x
- the block x coordinatey
- the block y coordinatez
- the block z coordinate- Returns:
- the index into the standard MC biome array
-