-
-
Notifications
You must be signed in to change notification settings - Fork 0
Conditions (additional for PLAYERMOVE)
Roughly_ edited this page Dec 17, 2022
·
1 revision
Whenever there's a material value, reference this
- 'FROM-IS [material]' - checks if the from-block is equal to that material.
- 'TO-IS [material]' - checks if the to-block is equal to that material.
- 'JUMP' - checks if the trigger reason was a jump. Note that the JUMP condition overrides the other 3 below, and is also not very accurate due to it not being provided by the Spigot API by default.
- 'SAME-BLOCK' - checks if the trigger reason was a movement on the same block. Note that this and the other 2 conditions below can stack up, thus, for example, SAME-BLOCK and HEAD-ROTATE could both be true at the same time.
- 'NOT-SAME-BLOCK' - checks if the trigger reason was a movement from one block to another.
- 'HEAD-ROTATE' - checks if the trigger reason was a player's head rotation change.
- 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