Package net.mcreator.element.types
Class Painting
java.lang.Object
net.mcreator.element.GeneratableElement
net.mcreator.element.types.Painting
-
Nested Class Summary
Nested classes/interfaces inherited from class net.mcreator.element.GeneratableElement
GeneratableElement.GSONAdapter, GeneratableElement.Unknown
-
Field Summary
Modifier and TypeFieldDescriptionint
int
Fields inherited from class net.mcreator.element.GeneratableElement
formatVersion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method should take care of generating additional mod element resources for cases such as GUI mod elementMethods inherited from class net.mcreator.element.GeneratableElement
getAdditionalTemplateData, getModElement, isUnknown, performQuickValidation, setModElement, wasConversionApplied
-
Field Details
-
texture
-
width
public int width -
height
public int height -
title
-
author
-
-
Constructor Details
-
Painting
-
-
Method Details
-
generateModElementPicture
- Overrides:
generateModElementPicture
in classGeneratableElement
- Returns:
- BufferedImage of mod element preview or null if default mod element icon should be used
-
finalizeModElementGeneration
public void finalizeModElementGeneration()Description copied from class:GeneratableElement
This method should take care of generating additional mod element resources for cases such as GUI mod element- Overrides:
finalizeModElementGeneration
in classGeneratableElement
-