MixinMinecraftServer

Server-lane heartbeat + the server-stop reap, as a mixin.

priority = Integer.MAX_VALUE: the heartbeat pumps at the tick's RETURN (postfix) so the eval sees the fully-settled post-tick server state, and max priority makes it fire as late as possible relative to other mods' RETURN injectors and keeps our injection alive if another mod overwrites tickServer (a lower-priority overwrite is applied before us).

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
private open fun mcp$serverHeartbeat(hasTimeLeft: BooleanSupplier, ci: CallbackInfo)
Pump the server lane once per tick, at the tick's RETURN.
Link copied to clipboard
private open fun mcp$serverStop(ci: CallbackInfo)
Positive server-stop signal: reap in-flight evals when the server stops (integrated quit-to-title or dedicated /stop).