Class TagLangGenerator

java.lang.Object
com.simibubi.create.infrastructure.data.TagLangGenerator

public class TagLangGenerator extends Object
Generate lang for tags. Lang should only be generated for tags in namespaces you control. This includes common tags, and a mod's own tags.
  • Constructor Details

  • Method Details

    • translate

      protected void translate(String key, String translation)
    • translate

      protected void translate(net.minecraft.tags.TagKey<?> tag, String translation)
    • generate

      public void generate()
    • keyFor

      protected static String keyFor(net.minecraft.tags.TagKey<?> tag)
    • toWord

      protected static String toWord(String string)
      Sets the first character to uppercase and all others to lowercase.