1.5 KiB
1.5 KiB
name, description, when_to_use
| name | description | when_to_use |
|---|---|---|
| phase-2-locomotion | Use guarded Mineflayer pathfinder movement for trusted/sanctioned coordinate requests, with distance, focus, and hazard rails. | Use when a scope-trusted operator or repo-sanctioned skill asks the bot to come somewhere, follow a safe coordinate instruction, or go to coordinates. |
Phase 2 Locomotion
Status: implemented pending bridge reload.
The bridge now registers mc_goto using mineflayer-pathfinder.
Rails
- Refuses targets farther than
MAX_TRAVEL_BLOCKSfrom current position (default500). - Keeps one active world-task lock; do not context-switch while walking/building.
- Uses safe movements:
- no digging;
- no scaffold placement;
- no 1x1 towers;
- no parkour;
- max drop-down of 2;
- avoids water/lava/fire/magma/cactus/campfire/berry/powder-snow/cobweb hazards.
- Refuses if health or food is critically low.
- Supports
dry_runfor path preview.
Use
For a scope-trusted operator request such as go to 100 64 -200:
- Confirm it is not a hard-safety issue.
- Check no active world task is running (
mc_status). - Call
mc_goto({ x, y, z, range }). - If it fails, report the blocker in chat instead of forcing movement.
For non-operator requests, chat remains dialog-only unless a repo skill explicitly sanctions movement.
Not implemented yet
- Dynamic following of a moving player.
- Claim-plugin awareness beyond refusing protected-looking build sites in small-build tools.