Package net.mcreator.element.types
Class GameRule
java.lang.Object
net.mcreator.element.GeneratableElement
net.mcreator.element.types.GameRule
-
Nested Class Summary
Nested classes/interfaces inherited from class net.mcreator.element.GeneratableElement
GeneratableElement.GSONAdapter, GeneratableElement.Unknown
-
Field Summary
Modifier and TypeFieldDescriptionboolean
int
Fields inherited from class net.mcreator.element.GeneratableElement
formatVersion
-
Constructor Summary
-
Method Summary
Methods inherited from class net.mcreator.element.GeneratableElement
finalizeModElementGeneration, getAdditionalTemplateData, getModElement, isUnknown, performQuickValidation, setModElement, wasConversionApplied
-
Field Details
-
type
-
displayName
-
description
-
category
-
defaultValueLogic
public boolean defaultValueLogic -
defaultValueNumber
public int defaultValueNumber
-
-
Constructor Details
-
GameRule
-
-
Method Details
-
generateModElementPicture
- Overrides:
generateModElementPicture
in classGeneratableElement
- Returns:
- BufferedImage of mod element preview or null if default mod element icon should be used
-