Entity is hurt

Event trigger "Entity is hurt": a procedure using it starts when this happens in the game. It gives the procedure entity, sourceentity, world, x, y, z, amount, damagesource. The event cannot be canceled.

WhenEntity is hurt
Cancelable
No
Works with
NeoForge 26.1.2NeoForge 1.21.1

Values it gives the procedure

NameType
entityentity
sourceentityentity
worldworld
xnumber
ynumber
znumber
amountnumber
damagesourcedamagesource

How to use it

  1. Create a new procedure.
  2. Click the trigger at the top of the block area and pick Entity is hurt.
  3. Snap action blocks under it. Use the values above as dependencies, for example entity.