Farmland is trampled

Event trigger "Farmland is trampled": a procedure using it starts when this happens in the game. It gives the procedure world, x, y, z, entity, blockstate, falldistance. The event can be canceled.

WhenFarmland is trampled
Cancelable
Yes
Works with
NeoForge 26.1.2NeoForge 1.21.1

Values it gives the procedure

NameType
worldworld
xnumber
ynumber
znumber
entityentity
blockstateblockstate
falldistancenumber

How to use it

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