Package net.mcreator.element.types
Class Procedure
java.lang.Object
net.mcreator.element.GeneratableElement
net.mcreator.element.types.Procedure
-
Nested Class Summary
Nested classes/interfaces inherited from class net.mcreator.element.GeneratableElement
GeneratableElement.GSONAdapter, GeneratableElement.Unknown
-
Field Summary
Fields inherited from class net.mcreator.element.GeneratableElement
formatVersion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionOverride this to add additional data to the element data modelgetBlocklyToProcedure
(Map<String, Object> additionalData) void
Methods inherited from class net.mcreator.element.GeneratableElement
finalizeModElementGeneration, getModElement, isUnknown, performQuickValidation, setModElement, wasConversionApplied
-
Field Details
-
XML_BASE
- See Also:
-
procedurexml
-
-
Constructor Details
-
Procedure
-
-
Method Details
-
getDependencies
-
generateModElementPicture
- Overrides:
generateModElementPicture
in classGeneratableElement
- Returns:
- BufferedImage of mod element preview or null if default mod element icon should be used
-
getAdditionalTemplateData
Description copied from class:GeneratableElement
Override this to add additional data to the element data model- Overrides:
getAdditionalTemplateData
in classGeneratableElement
- Returns:
- null if no additional data, or IAdditionalTemplateDataProvider implementation
-
getBlocklyToProcedure
public BlocklyToProcedure getBlocklyToProcedure(Map<String, Object> additionalData) throws TemplateGeneratorException- Throws:
TemplateGeneratorException
-
skipDependencyRegeneration
public void skipDependencyRegeneration()
-