[SPOILER] From the WIN10, when you press the right button, it works and from the phone it does not respond at all, what could be the problem?...
DELEVOPER MCPE, BE
to track when damage is dealt use EntityDamageEvent, and make a request for execute() function onDamage(EntityDamageEvent $event){...
Separate names with a comma.