Package com.jeff_media.jefflib
Class BiomeUtils
java.lang.Object
com.jeff_media.jefflib.BiomeUtils
Biome related methods
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBiomeNamespacedKey
(Location location) Returns the proper NamespacedKey for the biome at the given location, e.g.
-
Constructor Details
-
BiomeUtils
public BiomeUtils()
-
-
Method Details
-
getBiomeNamespacedKey
@NMS("1.16.2") @Tested("1.19.4") public NamespacedKey getBiomeNamespacedKey(@NotNull Location location) Returns the proper NamespacedKey for the biome at the given location, e.g. "minecraft:desert" or "terralith:salt_flats"- Parameters:
location
- Location to check- Returns:
- NamespacedKey containing the proper biome name
- Requires NMS.
- 1.16.2+
-