Entity drops experience

Event trigger "Entity drops experience": a procedure using it starts when this happens in the game. It gives the procedure entity, sourceentity, droppedexperience, originalexperience, world, x, y, z. The event can be canceled.

WhenEntity drops experience
Cancelable
Yes
Works with
NeoForge 26.1.2NeoForge 1.21.1

Values it gives the procedure

NameType
entityentity
sourceentityentity
droppedexperiencenumber
originalexperiencenumber
worldworld
xnumber
ynumber
znumber

How to use it

  1. Create a new procedure.
  2. Click the trigger at the top of the block area and pick Entity drops experience.
  3. Snap action blocks under it. Use the values above as dependencies, for example entity.
  4. To stop the event from happening, add the Cancel event block.