Dispatch

public final class Dispatch

Functions

Link copied to clipboard
public boolean handle(Player player, boolean isAttack)
Invokes the captured handler only while its exact mapping is still current.
public boolean handle(Player player, PacketInteractionContext context)
Invokes the captured handler directly with decoded packet context.
Link copied to clipboard
Resolves packet routing on the calling network thread.