MixinMinecraft
Client + render lane heartbeats, as a mixin. A client mixin, so it is never applied on a dedicated server.
Each also runs the one client-thread hop whose contract it matches: run_command target=client in a live game tick, take_screenshot in any rendered frame.
priority = 1_000_000_000: pump at RETURN (postfix) after other mods' RETURN injectors, best-effort; see MixinMinecraftServer for the rationale and why not Integer.MAX_VALUE.