Real input, real code paths
Clicks and keys go through Minecraft's own mouse and keyboard handlers, and interactions through MultiPlayerGameMode, so the server validates them as for a real player.
Let Claude Code, or any MCP client, drive a running Minecraft client and test your mod. Dev-only, for Minecraft 1.20.1, 1.21.1, 26.1.2, 26.2 and 26.3 on Fabric, NeoForge and Forge.