ChatCapture
class ChatCapture
Open chat-capture windows for run_command target=client. The ChatComponent mixins append every chat line to all open windows; run opens one before sending a command and closes it after the capture window. Public because the mixins live in a different package.
References only Capture, ChatTrust, network.chat.Component and JDK types — never a net.minecraft.client.* class — so it links cleanly on a dedicated server (where it is never used).