-
Notifications
You must be signed in to change notification settings - Fork 3
Metadata Condition
Xemor edited this page Dec 1, 2022
·
1 revision
MetadataCondition:
type: METADATA
mode: SELF
variable: yourVariableName
comparison: EQUAL
value: 1.0
This creates a condition that checks whether the metadata value, "yourVariableName" is equal to 1.0 on the entity that caused this effect.
MetadataCondition:
type: METADATA
mode: OTHER
variable: yourOtherVariable
comparison: >
value: -0.5
This creates a condiiton that checks whether the metadata value, "yourOtherVariable" is greater than -0.5 on the other entity.
- What are Conditions?
- List of all Conditions
- NOT Condition
- Weather Condition
- Tamed Condition
- Height Condition
- Metadata Condition
- Shielded Condition
- Light Condition
- Shooter Condition
- Health Condition
- Entity Condition
- Cooldown Condition