#when a mob deals damage to the player execute a command

1 messages · Page 1 of 1 (latest)

raven sequoia
#

How can I make that when a mob deals damage to the player, it executes a command, for example that a spider hits you and gives you gamemode creative

#

I'm new to all this sorry

thick urchin
#

EntityHurtEvent

#

world.afterEvents.entityHurt

raven sequoia
#

Oo