Skip to content

Add chest/hopper storage tools and refine furnace, placement, and equip behavior - #2

Merged
chrisb-prime merged 1 commit into
mainfrom
chrisb-prime-fork-teammate-updates
Nov 21, 2026
Merged

chrisb-prime merged 1 commit into
mainfrom
chrisb-prime-fork-teammate-updates

Conversation

@chrisb-prime

Copy link
Copy Markdown
Owner

Changes:

  • Add chest/hopper inspection and exact-quantity deposit/withdraw tools, with safe approach, compatible-stack capacity planning, opening timeouts, window cleanup, and explicit partial/concurrent-transfer errors.
  • Add furnace status and retrieve-only tools; collect whole loaded smelting batches, support background cooking, check output capacity, and report timeouts/partial effects.
  • Refine explicit placement to replace supported plants/single snow layers, preserve native crop planting, and verify the intended target without retrying after possible partial effects.
  • Prefer exact item names when equipping; reject ambiguous substring matches. Add focused regression coverage and local Windows connector documentation.

This is only the delta beyond the baseline already merged in #1 (base db72d0fc86b9b00afbb292a56613f886c46a5286). The original survival/interaction/navigation implementations are preserved, not deleted or reintroduced. Upstream yuniko-software/minecraft-mcp-server#275 and its source branch were left untouched.

Provenance: Imported tracked modifications, deletions, and relevant untracked implementation/test files from the existing gameplay checkout based on 240c8cec337ce152cc9e058ebdef511055808406. These newer changes were uncommitted there, so that SHA identifies the source base, not the new implementation. Source HEAD, status, and all 23 captured path hashes remained unchanged through validation and the pre-commit check. Only this isolated fork worktree was written to. PR head: 0569624a015237f97e55ca99f0691ca10ff98253. The only additional edit clarifies the upstream baseline reference in README.

Validation:

  • npm ci --no-audit --no-fund — passed (includes prepare/build).
  • npm test -- tests/block-tools.test.ts tests/furnace-tools.test.ts tests/inventory-tools.test.ts tests/safe-navigation.test.ts tests/storage-tools.test.ts — passed, 113 tests.
  • npm run lint — passed.
  • npx tsc --noEmit — passed.
  • npm run build — passed.
  • git diff --cached --check — passed.

Remaining limitations: No new live-game validation or connector restart was performed; checks use mocks and selected installed native Mineflayer components. Storage supports ordinary chests/hoppers only; contents are snapshots, automated/player races fail explicitly, and partial effects are not rolled back. Furnace batches use the selected input/fuel stacks and require exclusive use; unsupported recipes, insufficient fuel, and insufficient inventory room remain explicit errors. Placement remains restricted to documented replacements/planting; buckets and snow stacking are unsupported. This PR is intentionally left open and is not authorized for immediate merge.


Import the recent gameplay connector changes beyond the merged survival baseline.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant