Class GeneratorWrapper

java.lang.Object
net.mcreator.generator.GeneratorWrapper

public class GeneratorWrapper extends Object
  • Constructor Details

    • GeneratorWrapper

      public GeneratorWrapper(Generator generator)
  • Method Details

    • getGeneratorBuildFileVersion

      public String getGeneratorBuildFileVersion()
    • getGeneratorMinecraftVersion

      public String getGeneratorMinecraftVersion()
    • map

      public String map(String rawName, String mappingMap)
    • map

      public String map(String rawName, String mappingMap, int mappingTable)
    • sortByMappings

      public Collection<String> sortByMappings(Collection<String> input, String mappingTable)
    • procedureNamesToObjects

      public List<Procedure> procedureNamesToObjects(String proceduresString)
    • getRegistryNameFromFullName

      public String getRegistryNameFromFullName(String elementName)
    • isBlock

      public boolean isBlock(String elementName)
    • getElementPlainName

      public static String getElementPlainName(String elementName)
      Removes the "CUSTOM:" prefix and any eventual suffix (if present, it's after the last .)
      Parameters:
      elementName - The name to convert
      Returns:
      The plain name of the element
    • getRegistryNameForModElement

      public String getRegistryNameForModElement(String modElement)
    • getResourceLocationForModElement

      public String getResourceLocationForModElement(String modElement)
    • getResourceLocationForModElement

      public String getResourceLocationForModElement(ModElement element)
    • getGeneratorFlavor

      public String getGeneratorFlavor()
    • getWorkspace

      public Workspace getWorkspace()