minecraftlisted
Install: claude install-skill 0nigiris/JustDay
# Minecraft (JustDay Bridge + Baritone)
The game must be running with the bridge mod (Fabric 1.21.10). `justday mc ping` → `{"in_world": true}`. Not installed → tell the user to run `~/JustDay/minecraft/install.sh` and restart Minecraft (don't do it mid-game yourself).
Everything is a text command — **no screenshots needed** for Minecraft; use `look` only if the bridge can't answer.
Every command prints JSON; `ok:false` + `error` explains what went wrong. Long actions return a `state` with position, health and inventory.
| Command | What it does |
|---|---|
| `justday mc state` | position, facing, health/food, time (`night`), `singleplayer`, hotbar, whole inventory, what the crosshair points at, hostile mobs within 24, Baritone status |
| `justday mc find block='#log' radius=48 limit=5` | nearest loaded blocks: exact id (`stone`, `crafting_table`), glob (`*_ore`), or `#log` `#planks` `#cobble` `#coal`; comma = several |
| `justday mc baritone command="mine 6 oak_log"` | any Baritone command without `#`: `mine N block…`, `goto X Y Z`, `goto crafting_table` (walks next to the nearest one), `follow player NAME`, `explore`, `come`, `surface`, `farm` |
| `justday mc wait timeout=90` | blocks until Baritone is done (or `still_running` after the timeout — check `state.inventory` and call again or `stop`) |
| `justday mc stop` | stop Baritone and any bridge action |
| `justday mc craft item=wooden_pickaxe count=1` | real inventory clicks; 2×2 in the inventory, 3×3 needs a crafting