idk is a minecraft inventory bot.
Deposit and withdraw items from storage. All the items are shown on a website and you can control the bot from there. No redstone required!
About โข Installation
Divided into 3 parts: website, inventory / database and minecraft player / storage
This displays and controls the items available in your inventory. Withdraw and deposit items from here
Built with svelte and tailwind.css,
A simple api to take requests from frontend:
- list
- withdraw
- deposit
Model of the inventory system and a majority of the logic. Takes the inputs above and converts them into actions to be run by the player. Task completion updates database
Built with: typescript and postgres
Base action performer, listens for requests from inventory takes the following actions:
- move (moves the players position by a breath first pathing)
- open
- close
- left click
- right click
Built with: javascript and mineflayer
I've written more about it on my website pucula.com/idk
Since this is a personal project, sorry I haven't spend much time to help with installation process. You'll need:
- Local minecraft server running 1.19.3
- A minecraft account, user/pass are stored as environment variable
- Running a minecraft server with the chests set up. (config in player.ts)
- Postgres with a table with the follwing schema. (config in db.ts) metadata - int4 nbt - jsonb name - varchar display_name - varchar stack_size - int4 slot - int4 count - int4 chest - int4 shulker_slot - int4
To run, Start Website: cd front, npm install, npm run dev cd .. Start Bot: cd back, npm install, npm start