Added ability to use cartography table#3778
Open
AboveAphid wants to merge 5 commits into
Open
Conversation
This is based upon the furnace.js plugin with certain modifications made so that it can be used for cartography tables instead.
Added cartography_table.js to plugin loader for bot.
Added cartography table to api.md (Based upon how furnace was documented)
Changed tab indentation to 2 space indentation to (hopefully) fix the Lint test error that was occuring.
plainprince
pushed a commit
to plainprince/mineflayer
that referenced
this pull request
Feb 8, 2026
Based on PrismarineJS#3778 by @AboveAphid. Adds ability to use cartography tables (put/take maps, modifiers, and outputs). Fixes lint errors (space-before-function-paren, padded-blocks) that caused CI to fail. Co-authored-by: Cursor <cursoragent@cursor.com>
3 tasks
Contributor
|
Hi @AboveAphid, I've opened #3826 which is a rebased version of this PR with the lint fixes applied (missing spaces before function parentheses and a padded-blocks issue in |
aimeeaidanu
approved these changes
Feb 14, 2026
Author
|
@plainprince Aaa thank you very much. I'm still a little new to contributing so that's very appreciated. |
Contributor
|
@AboveAphid no problem! I also use AI to help me since I am not the best at coding. |
Member
|
Can you add a test? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added the ability to use cartography tables. This code was based upon the furnace.js plugin code.
Changes
Added
cartography_table.jspluginModified
loader.jsto load cartography_table.jsUpdated
api.mddocs to explain new functionsTesting
I'm a little new to github and tests so I tried running
npm run testBut recieved this, which I assume is because I'm running windows and don't have the right command line tools(?):
Example
In this example the bot finds the nearest cartography table and locks a map using a glass pane and filled map.
It is assumed the bot has already been given the required items (glass pane, and filled map).