tick

open fun tick(): InteractionResult

Called on Taterzen entity tick. Returning different action results has different meanings:

  • PASS - Default; continues ticking other professions.
  • CONSUME - Stops processing others, but continues with base Taterzen tick.
  • FAIL - Stops whole movement tick.
  • SUCCESS - Continues with super.tickMovement(), but skips Taterzen's tick.

Return

true if you want to cancel the default Taterzen ticking.

Deprecated

- you can still use tickMovement or new event onPlayersNearby for interactions with players.