Skip to content

YAMC MCP 0.4.0

Choose a tag to compare

@TargetedEntropy TargetedEntropy released this 28 Nov 12:27
· 3 commits to master since this release

YAMC MCP 0.4.0

New: tools for mod development

17 new tools (71 in total) for building and debugging your own mod with Claude in the loop:

  • Debugging: logs (the game log from every mod, with stack traces; ERROR lines also arrive as log_error events), exceptions (every distinct exception, grouped by where it was thrown, plus crash reports), reload (resource packs like F3+T and/or data packs like /reload, returning the errors logged during it) and asset_audit (a mod's blocks, items and entities missing translations, blockstates, models, textures or loot tables).
  • Inspecting: block_inspect and entity_inspect compare what the client and the singleplayer server each see, to catch sync bugs; entity_inspect also shows a mob's AI (goals, target, path, memories, attributes). capabilities_at shows the items, fluids and energy a block exposes to other mods.
  • Testing: gametest_run runs game tests and reports pass/fail per test; tick_control freezes the game clock, steps it a set number of ticks, sprints it or changes the tick rate.
  • Internals: packet_log counts network packets, with each mod's messages under its channel id; mod_config reads and sets NeoForge config values (on Fabric it shows the mod's config files); mixins lists mixin configs and which mixins were applied to a class.
  • Client: keybinds / key_press list key bindings and press one by name; screen_widgets / widget_click list the open screen's buttons and fields and click one or fill a text field; perf shows FPS, memory, server tick time, and entity and ticking-block counts per mod.
  • Screenshot baselines: screenshot takes save_baseline and compare_baseline, and reports how many pixels changed with an image of the differences.
  • New setting: tools.logBufferSize, how many log lines are kept (default 5000).

Fixes and changes

  • hide_hud could still show the HUD at low frame rates; screenshots now wait for two newly drawn frames.
  • screenshot now rejects incomplete coordinates and conflicting directions instead of guessing, says when the camera was snapped to the player's eyes, and always restores the camera if a capture is cancelled.
  • mod_config withholds values and files whose names look like credentials.
  • Fabric: the Fabric Transfer API is an optional dependency, used only by capabilities_at.

Full source and setup: https://github.com/TargetedEntropy/ya-minecraft-mcp