onServerTickEnd

fun onServerTickEnd(event: ServerTickEndEvent)

Server-lane heartbeat, standing in for the mod path's tickServer RETURN injection.

ServerTickEndEvent fires after runAllTasks() and before the loop's waitUntilNextTick(), so an eval sees the settled tick within the same tick. A runTaskTimer(0, 1) pump would observe the same state but only after that sleep — 50ms - MSPT later, i.e. worst on an idle server.

MONITOR runs this after every other plugin listener. It cannot order us against mods, which inject at the method's RETURN and therefore still run after this event.