Package net.mcreator.generator
Class GeneratorWrapper
java.lang.Object
net.mcreator.generator.GeneratorWrapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getElementPlainName
(String elementName) Removes the "CUSTOM:" prefix and any eventual suffix (if present, it's after the last .)getRegistryNameForModElement
(String modElement) getRegistryNameFromFullName
(String elementName) getResourceLocationForModElement
(String modElement) boolean
procedureNamesToObjects
(String proceduresString) sortByMappings
(Collection<String> input, String mappingTable)
-
Constructor Details
-
GeneratorWrapper
-
-
Method Details
-
getGeneratorBuildFileVersion
-
getGeneratorMinecraftVersion
-
map
-
map
-
sortByMappings
-
procedureNamesToObjects
-
getRegistryNameFromFullName
-
isBlock
-
getElementPlainName
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
-
getResourceLocationForModElement
-
getResourceLocationForModElement
-
getGeneratorFlavor
-
getWorkspace
-