Class GeneratorConfiguration

java.lang.Object
net.mcreator.generator.GeneratorConfiguration
All Implemented Interfaces:
Comparable<GeneratorConfiguration>

public class GeneratorConfiguration extends Object implements Comparable<GeneratorConfiguration>
  • Constructor Details

    • GeneratorConfiguration

      public GeneratorConfiguration(String generatorName)
  • Method Details

    • getRecommendedGeneratorForFlavor

      @Nullable public static GeneratorConfiguration getRecommendedGeneratorForFlavor(Collection<GeneratorConfiguration> generatorConfigurations, GeneratorFlavor... generatorFlavors)
    • getRecommendedGeneratorForBaseLanguage

      @Nullable public static GeneratorConfiguration getRecommendedGeneratorForBaseLanguage(Collection<GeneratorConfiguration> generatorConfigurations, GeneratorFlavor.BaseLanguage baseLanguage)
    • getSourceRoot

      @Nonnull public String getSourceRoot()
    • getResourceRoot

      @Nonnull public String getResourceRoot()
    • getModAssetsRoot

      public String getModAssetsRoot()
    • getModDataRoot

      public String getModDataRoot()
    • getSpecificRoot

      public String getSpecificRoot(String root)
    • getGeneratorMinecraftVersion

      @Nonnull public String getGeneratorMinecraftVersion()
    • getGeneratorBuildFileVersion

      @Nonnull public String getGeneratorBuildFileVersion()
    • getGeneratorSubVersion

      @Nullable public String getGeneratorSubVersion()
    • getLanguageFileSpecification

      public Map<?,?> getLanguageFileSpecification()
    • getTagsSpecification

      public Map<?,?> getTagsSpecification()
    • getBaseTemplates

      public List<?> getBaseTemplates()
    • getGeneratorPaths

      public Collection<String> getGeneratorPaths(String subpath)
    • getGeneratorFlavor

      public GeneratorFlavor getGeneratorFlavor()
    • getGradleTaskFor

      public String getGradleTaskFor(String purpose)
    • getResourceSetupTasks

      @Nullable public List<?> getResourceSetupTasks()
    • getSourceSetupTasks

      @Nullable public List<?> getSourceSetupTasks()
    • getJavaModelsKey

      public String getJavaModelsKey()
    • getCompatibleJavaModelKeys

      public List<String> getCompatibleJavaModelKeys()
    • getJavaModelRequirementKeyWords

      public List<String> getJavaModelRequirementKeyWords()
    • getImportFormatterDuplicatesWhitelist

      public List<String> getImportFormatterDuplicatesWhitelist()
    • getImportFormatterPriorityImports

      public Map<String,String> getImportFormatterPriorityImports()
    • getGeneratorName

      public String getGeneratorName()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getRaw

      public Map<?,?> getRaw()
    • getMappingLoader

      public MappingLoader getMappingLoader()
    • getDefinitionsProvider

      public DefinitionsProvider getDefinitionsProvider()
    • getGeneratorStats

      public GeneratorStats getGeneratorStats()
    • getTemplateGenConfigFromName

      public TemplateGeneratorConfiguration getTemplateGenConfigFromName(String name)
    • getVariableTypes

      public GeneratorVariableTypes getVariableTypes()
    • getSupportedDefinitionFields

      @Nullable public List<String> getSupportedDefinitionFields(ModElementType<?> type)
    • getUnsupportedDefinitionFields

      @Nullable public List<String> getUnsupportedDefinitionFields(ModElementType<?> type)
    • compareTo

      public int compareTo(@Nonnull GeneratorConfiguration o)
      Specified by:
      compareTo in interface Comparable<GeneratorConfiguration>