Go to 'Mods' in the Main Menu. Select the mod you want to hide. Enable the 'Hide Mod' checkbox in the bottom left corner. Repeat for all mods you want to hide. Go into Singleplayer and run '/modspoof' ...
While Streamable HTTP would be the ideal alternative for decoupled communication, the current MCP Java SDK only supports SSE (Server-Sent Events) and stdio transports - not Streamable HTTP. This ...