Package com.palmergames.bukkit.util
Class BiomeUtil
java.lang.Object
com.palmergames.bukkit.util.BiomeUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.NamespacedKey
getBiomeKey
(org.bukkit.World world, int x, int y, int z) static double
getWorldCoordBiomePercent
(WorldCoord worldCoord, Predicate<org.bukkit.NamespacedKey> biomePredicate) static double
getWorldCoordOceanBiomePercent
(WorldCoord worldCoord) static double
getWorldCoordUnwantedBiomePercent
(WorldCoord worldCoord)
-
Constructor Details
-
BiomeUtil
public BiomeUtil()
-
-
Method Details
-
getWorldCoordOceanBiomePercent
-
getWorldCoordUnwantedBiomePercent
-
getWorldCoordBiomePercent
public static double getWorldCoordBiomePercent(WorldCoord worldCoord, Predicate<org.bukkit.NamespacedKey> biomePredicate) -
getBiomeKey
public static org.bukkit.NamespacedKey getBiomeKey(org.bukkit.World world, int x, int y, int z)
-