Package net.mcreator.element.types
Class Achievement
java.lang.Object
net.mcreator.element.GeneratableElement
net.mcreator.element.types.Achievement
-
Nested Class Summary
Nested classes/interfaces inherited from class net.mcreator.element.GeneratableElement
GeneratableElement.GSONAdapter, GeneratableElement.Unknown
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
boolean
int
boolean
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 modelboolean
Methods inherited from class net.mcreator.element.GeneratableElement
finalizeModElementGeneration, getModElement, isUnknown, performQuickValidation, setModElement, wasConversionApplied
-
Field Details
-
achievementName
-
achievementDescription
-
achievementIcon
-
background
-
disableDisplay
public boolean disableDisplay -
showPopup
public boolean showPopup -
announceToChat
public boolean announceToChat -
hideIfNotCompleted
public boolean hideIfNotCompleted -
rewardLoot
-
rewardRecipes
-
rewardFunction
-
rewardXP
public int rewardXP -
achievementType
-
parent
-
triggerxml
-
-
Constructor Details
-
Achievement
-
-
Method Details
-
hasRewards
public boolean hasRewards() -
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
-