Skip to content

Conditions (additional for PLAYERHURTENTITY)

Roughly_ edited this page Dec 17, 2022 · 1 revision

Additional conditions only for PLAYERHURTENTITY trigger.

P.S. The default conditions apply to the player.

  • 'ENTITY-SWIMMING' - triggers if the entity is swimming. Does not trigger if the entity is simply underwater.
  • 'ENTITY-ONFIRE' - triggers if the entity is on fire.
  • 'ENTITY-ONHIGHESTBLOCK' - triggers if the entity is on the highest block of its location.
  • 'ENTITY-HEALTH (=, >, <, >=, <=) [health]' - triggers if the entity's health matches the comparative operator's output.
  • 'DAMAGE (=, >, <, >=, <=) [damage]' - triggers if the event's damage matches the comparative operator's output.
  • 'DAMAGE-LETHAL' - triggers if the event's damage exceeds or is equal to the victim's health.

Guides:

Triggers:

API:

Clone this wiki locally