Class MaterialKeys

java.lang.Object
nl.pim16aap2.lightkeeper.framework.MaterialKeys

public final class MaterialKeys extends Object
Normalization for material keys across the framework API.
  • Method Details

    • normalize

      public static String normalize(String materialKey)
      Normalizes a material key to its canonical namespaced, lower-case form.
      Parameters:
      materialKey - Material key, e.g. STONE, stone, or minecraft:stone.
      Returns:
      The canonical form, e.g. minecraft:stone.