Update FAQ.md

This commit is contained in:
Max Robinson 2024-11-02 14:10:37 -05:00 committed by GitHub
parent 7fd505c4b5
commit 32706b00f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

4
FAQ.md
View file

@ -1,15 +1,19 @@
# Common Issues
- `Error: connect ECONNREFUSED`: Minecraft refused to connect with mindcraft program. Most likely due to:
- you have not opened your game to LAN in game settings
- your LAN port is incorrect, make sure the one you enter in game is the same as specified in `settings.js`
- you have the wrong version of minecraft, make sure your MC version is the same as specified in `settings.js`
- `ERR_MODULE_NOT_FOUND`: You are missing an npm package. run `npm install`
- Many issues are caused by out-of-date node module patches, especially after updates. A catch-all is to delete the `node_modules` folder, and run `npm install`
- `My brain disconnected, try again`: Something is wrong with the LLM api. You may have the wrong API key, exceeded your rate limits, or other. Check the program outputs for more details.
- `I'm stuck!` or other issues with constantly getting stuck:
- Mineflayer's pathfinder is imperfect. We have improved upon it with patches, but these might not have been applied properly. Make sure your code is up to date with main, delete the `node_modules` folder, and run `npm install`
- The bot will still get stuck occasionally, but not constantly.
# Common Questions
- Mod Support? Mindcraft only supports client-side mods like optifine and sodium, though they can be tricky to set up. Mods that change minecraft game mechanics are not supported.