Class Tags

java.lang.Object
net.neoforged.neoforge.common.Tags

public class Tags extends Object
  • Constructor Details

    • Tags

      public Tags()
  • Method Details

    • getTagTranslationKey

      public static String getTagTranslationKey(TagKey<?> tagKey)
      Use this to get a TagKey's translation key safely on any side.
      Returns:
      the translation key for a TagKey.