MineJS
- 28 Devlogs
- 106 Total hours
A Minecraft package that allow you create Minecraft bot like Mineflayer
A Minecraft package that allow you create Minecraft bot like Mineflayer
The container is finally opened, turn out there is a bug in my code which tell the server the wrong location of the chest ;-;
P/s: Thank you Claude for helping me find this issue
I have implemented the Use item on packet for interacting with block, but seem like there was something wrong with it because it is expected to return an open screen packet but nothing returned.
Beside that, I have implemented the tablist. Now you can see the header and footer 
Also, I’m preparing for supporting version 26.3.
I’m wondering whether should I make a new ship.
P/s: Rust rewrite when >:)
I added container 
But it is just clientbound ![]()
Add container and block interaction soon 
I have completed the reading slot part.
I just know that a slot can hold that many data ;-;
Btw, I’ll soon complete the container part, meaning that you can use chest now 
The bot can chat now 
I have to reimplement the bitset to let this run btw 
Hello again, I’m sorry for not update this project much since I’m working on the other.
I just found out that the Mojang just revoke my app approval without any notification ;-;
Btw, I fixed the bug that ignore the chunk packet and update the README about the current situation ;-;
Hello again, sorry for a almost-9-hour devlogs 
I’m just making the auth part for joining premium server and the thing is not going well for now ;-;
I have registered the app for accessing Minecraft API but by some magic, I’m still blocked 
I’m also making the feature for verifying message signature 
I do so much work that I forgot what to summarize here 
So before, everything is placed in TCPClient, which is fine for hard-coded packets.
But now, I’m making the dynamic packet translating for multiple version supports. And while making it, it need reference from TCPClient, then TCPClient need to a reference of it and so on…
So I have split the functionality into corresponding space. So now, each of class has its own responsibility:
Sorry for another 8-hour devlog ;-;
Now MineJS support 26.2 
I’m working on a system for mapping version and packet so MineJS can support multiple version at the same time, instead of one atm (because the packet ID is hard-coded).
I also make another tool for scrapping Minecraft Wiki for packet structure (disclaimer: This is not an automate running so it will not spam the Wiki, please don’t ban me ;-;).
Thats it, have a great day 
Oh, I spent 5h for setting up documents? That’s crazy :D
Btw, I have setup an auto document page using TypeDoc. I also setup Github Action for automating publish package and build document page.
NOW MY BOT CAN WALK ON STAIR

I think it is ready to be publish 
ONE MORE TIME, I’m very sorry for not logging this painful process much, please please please forgive me 
MY BOT CAN WALK NOW 🎉

Hello, sorry for forget logging regularly 
In the last whole week, my only job is looking at Minecraft code, ask Claude what the beep beep is that, arguing with myself do I have to do this and then continue 
Btw I managed to write the trimmed Minecraft physics engine and ready to test it out 
Unfortunately, my code isn’t reading the Registry well so maybe tomorrow :D
P/s: If you still read this, have a good day and please vote for me ;-;
I’m getting through clipping function, which is mandatory to calculate the damage from falling
Finally done the collide function ;-;
I have implemented the base collide function and ready for the entity collide :D
I added VoxelShape and some math related to it. Now I can reconstruct the collision the shape of the block and, hopefully, mobs. Thats mean I’m ready to let my client be able to move, I hope so 
Now I’m implementing the “move” method for the client, which invokes physics things, which is very very difficult for me 
That why I’m not updating regularly ;-; (I’m sorry)
I’m making auth system and this takes me so much timeeeeeeeeeee 
Btw, I’m waiting for Mojang to approve my Azure app so I can test the auth API
I’m working on parsing player chat message now 
This whole week is filled with debugging and small updates so here is the summary:
I’m on my way to reading chunk data.
I have burnt all of my Github Copilot monthly credit only to realize that Copilot inserted a redundant read that collapse all reading latter :_D
It is finally working 🎉
I have handled all required packet so this should be theoretically playable.
I also do some refactoring for a cleaner codebase :D
I forgot to make the devlogs so here is all of the updates:
The SNBT decoder is kinda work for now :D
I’m moving to encoder (or should I >:D)
I’m working on SNBT decoder, which is way more trickier than NBT ;-;
I’m just done the basic part and planning for nested object.
I have made a NBT decoder and encoder. You can see it encode and decode in the terminal :D