Class BiomeUtils

java.lang.Object
com.jeff_media.jefflib.BiomeUtils

public class BiomeUtils extends Object
Biome related methods
  • Constructor Details

  • 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+