Dialog Diagnoser

About

Client-side Fabric mod that intercepts Minecraft dialog screens and dumps their full JSON structure. Detects DialogScreen instances via ScreenEvents.AFTER_INIT, extracts the Dialog object through reflection, and serializes it using Dialog.DIRECT_CODEC. Recursively walks the JSON to identify every button action: commands, URLs, clipboard operations, page changes, nested dialogs, and custom server actions. Reports button labels, action types, sensitive commands (colored red), and ESC-close behaviors. Outputs formatted summaries to chat and latest.log, plus saves the raw pretty-printed dialog JSON to config/dialogdiagnoser/last_dialog.json. Null-safe for configuration phase dialogs, no mixins required.