-
-
Notifications
You must be signed in to change notification settings - Fork 0
Conditions
Roughly_ edited this page Dec 17, 2022
·
1 revision
All conditions for all events (entity refers to the main character, mostly player):
- 'PDC-MATCH [address] [expected]' - triggers if the value at a player's PDC at that certain address is the same as expected.
- 'SNEAKING' - triggers if the entity is sneaking.
- 'SPRINTING' - triggers if the entity is sprinting.
- 'SWIMMING' - triggers if the entity is swimming. Does not trigger if the entity is simply underwater.
- 'BLOCKING' - triggers if the entity is blocking with their shield.
- 'FLYING' - triggers if the entity is flying.
- 'ONFIRE' - triggers if the entity is on fire.
- 'ONHIGHESTBLOCK' - triggers if the entity is on the highest block of its location.
- 'RAIN' - triggers if it's raining in the entity's world.
- 'CLEAR' - triggers if the weather is clear in the entity's world.
- 'THUNDER' - triggers if it's thundering in the entity's world.
- 'NIGHT' - triggers if it's night in the entity's world.
- 'DAY' - triggers if it's afternoon in the entity's world.
- 'OVERWORLD' - triggers if the entity's world is the overworld.
- 'NETHER' - triggers if the entity's world is the nether.
- 'END' - triggers if the entity's world is the end.
- 'HEALTH (=, >, <, >=, <=) [health]' - triggers if the entity's health matches the comparative operator's output.
- 'FOOD (=, >, <, >=, <=) [food]' - triggers if the entity's food level matches the comparative operator's output.
- 'AIR (=, >, <, >=, <=) [ticks]' - triggers if the entity's air level matches the comparative operator's output.
- 'GODMODE (=, >, <, >=, <=) [ticks]' - triggers if the entity's invisibility ticks match the comparative operator's output.
- 'OP' - triggers if the entity is OP.
- Armor equip: Trigger, conditions
- Player bow hit: Trigger, conditions
- Player break block: Trigger, conditions
- Player break item: Trigger, conditions
- Player eat: Trigger, conditions
- Player got hurt: Trigger, conditions
- PVP (Player hit player): Trigger, conditions
- Player hurt entity: Trigger, conditions
- Player interact: Trigger, conditions
- Player move: Trigger, conditions
- Player RMB entity: Trigger, conditions
- Player shoot bow: Trigger, conditions
- Player toggle sneak: Trigger, conditions