Fabric client automation for Minecraft 1.21.11: /mat commands, GraalJS scripts, mat2.* API. Runs clear, verifiable flows — not a full survival AI.
./gradlew build # jar → build/libs/ (skip *-sources.jar)Requires Minecraft 1.21.11, Fabric Loader, Fabric API, Java 21+.
Scripts: .minecraft/config/mat2/scripts/ (dev: run/config/mat2/scripts/)
// hello.js
mat2.chat.log("hello from MAT2");/mat run hello
Hard stop: /mat stop / /mat cancel.
User documentation (Chinese) → docs/zh_cn/ · Quick start
Chinese overview: README-ZN.md
Architecture / credits / contributing: docs/zh_cn/architecture-overview.md · docs/zh_cn/credits.md · docs/zh_cn/contributing.md · docs/ARCHITECTURE.md · AGENTS.md · NOTICE
Sphinx / Read the Docs config: .readthedocs.yaml. Local preview: see docs/README.md.
- Default record save mode:
replay_safe. Concept draft:concept/task. - Pathfinding: embedded Baritone. Containers/crafting:
mat2.ui.*(not Baritone inventory). - Do not install a separate Baritone mod (mod id clash).