%e:ENTITY_POSSESSIVE% %attr:ATTRIBUTE% [value] %op:OP% %val:EXPR% — Conditions

%e:ENTITY_POSSESSIVE% %attr:ATTRIBUTE% [value] %op:OP% %val:EXPR%
Attribute1.0.0

Description

Compares a living entity's attribute value against a number using a relational operator.

Examples

if mob's max_health > 20:

All Possible Usages (2)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

<e> <attr> <op> <val>
<e> <attr> value <op> <val>

Related (Attribute)