Skip to main content

Condition_HasFlowerEnchant

Description

Checks if the flower object has a specific enchant applied. Enchant refers to the Id field in FlowerEnchant.json. If S1 is empty, checks whether any enchant exists.

Parameters

ParameterDescription
BaseObjectThe flower entity to check for enchantment.
CompareTypeSupported compare types: Equal, NotEqual.
S1The enchant ID to compare. If empty, checks for any enchant existence.

Examples

DescriptionBaseObjectCommandCompareType
Check if flower has any enchant appliedTargetHasFlowerEnchantEqual
Check if flower has the Fire enchantTargetHasFlowerEnchantEqual
Check if flower does not have the Ice enchantTargetHasFlowerEnchantNotEqual