Class ModelUtils

java.lang.Object
cz.jeme.bestium.api.util.ModelUtils

@NullMarked public final class ModelUtils extends Object
Utility class for handling model-related operations.
  • Method Details

    • keyToModelName

      public static String keyToModelName(net.kyori.adventure.key.Key key)
      Converts a Key to a standardized model name string in the format: bestium.<namespace>.<value>.
      Parameters:
      key - the key to convert
      Returns:
      the corresponding model name string