Package valorless.rarespawns.utils
Interface BiomeUtils
public interface BiomeUtils
Biome-related utility functions.
Provides methods to check if a location is within specified biomes.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic booleanChecks if the given location is within the specified biome.static booleanChecks if the given location is within any of the specified biomes.static booleanisConditionMet(org.bukkit.Location loc, EntityData data)
-
Method Details
-
isConditionMet
-
inBiome
Checks if the given location is within the specified biome.- Parameters:
loc- The location to check.biomeName- The name of the biome to check against.- Returns:
- true if the location is in the specified biome; false otherwise.
-
inBiome
Checks if the given location is within any of the specified biomes.- Parameters:
loc- The location to check.biomes- A list of biome names to check against.- Returns:
- true if the location is in any of the specified biomes; false otherwise.
-