Package net.mcreator.element.types
Class PotionEffect
java.lang.Object
net.mcreator.element.GeneratableElement
net.mcreator.element.types.PotionEffect
-
Nested Class Summary
Nested classes/interfaces inherited from class net.mcreator.element.GeneratableElement
GeneratableElement.GSONAdapter, GeneratableElement.Unknown
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
boolean
boolean
boolean
boolean
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 elementboolean
Methods inherited from class net.mcreator.element.GeneratableElement
getAdditionalTemplateData, getModElement, isUnknown, performQuickValidation, setModElement, wasConversionApplied
-
Field Details
-
effectName
-
icon
-
color
-
isInstant
public boolean isInstant -
mobEffectCategory
-
renderStatusInInventory
public boolean renderStatusInInventory -
renderStatusInHUD
public boolean renderStatusInHUD -
isCuredByMilk
public boolean isCuredByMilk -
isProtectedByTotem
public boolean isProtectedByTotem -
isCuredbyHoney
public boolean isCuredbyHoney -
modifiers
-
onStarted
-
onActiveTick
-
onExpired
-
activeTickCondition
-
-
Constructor Details
-
PotionEffect
-
-
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
-
hasCustomRenderer
public boolean hasCustomRenderer()
-