stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

MineJS

  • 28 Devlogs
  • 106 Total hours

A Minecraft package that allow you create Minecraft bot like Mineflayer

Open comments for this post

1h 28m 37s logged

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

0
0
19
Open comments for this post

5h 43m 4s logged

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 :yay:
Also, I’m preparing for supporting version 26.3.
I’m wondering whether should I make a new ship.
P/s: Rust rewrite when >:)

0
0
37
Open comments for this post

5h 57m 39s logged

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 :yayayayayay-67:

0
0
12
Open comments for this post

3h 34m 2s logged

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 ;-;

2
0
122
Open comments for this post

8h 45m 24s logged

Hello again, sorry for a almost-9-hour devlogs :sorrytutter:
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 :why:
I’m also making the feature for verifying message signature :yay:

0
0
30
Open comments for this post

6h 42m 30s logged

I do so much work that I forgot what to summarize here :cryign:
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:

  • TCPClient for throwing and receiving packets through TCP connection
  • VersionCodec for translating packets
  • Dispatcher for handling packet
  • SharedState for holding states
    So that is the whole update. Hope youre enjoy your day, also this project :D
0
0
18
Open comments for this post

8h 6m 28s logged

Sorry for another 8-hour devlog ;-;
Now MineJS support 26.2 :yaaaaaaay:
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 :loveparrot:

0
0
9
Ship #1

This is a Minecraft client package, allow you to create Minecraft bot and joining server.
This ship provide some basic functionality of Minecraft bot, including:

  • Walking around
  • Getting blocks
    Also, this ship include the low-level client for talking directly to the server.
  • 19 devlogs
  • 60h
  • 15.92x multiplier
  • 950 Stardust
Try project → See source code →
Open comments for this post

5h 26m 10s logged

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.

0
0
8
Open comments for this post

5h 51m 18s logged

NOW MY BOT CAN WALK ON STAIR :yayayayayay-67: :aga-dance: :hyper-popper: :hyperfastparrot:
I think it is ready to be publish :hehee:
ONE MORE TIME, I’m very sorry for not logging this painful process much, please please please forgive me :cryign:

0
0
3
Open comments for this post

8h 47m 42s logged

Hello, sorry for forget logging regularly :cryign:
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 :why:
Btw I managed to write the trimmed Minecraft physics engine and ready to test it out :yayayayayay:
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 ;-;

0
0
4
Open comments for this post

36m 39s logged

I’m getting through clipping function, which is mandatory to calculate the damage from falling

0
0
3
Open comments for this post

2h 4m 41s logged

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 :cryign:

0
0
2
Open comments for this post

6h 56m 46s logged

Now I’m implementing the “move” method for the client, which invokes physics things, which is very very difficult for me :cryign:
That why I’m not updating regularly ;-; (I’m sorry)

0
0
5
Open comments for this post

4h 29m 10s logged

I’m making auth system and this takes me so much timeeeeeeeeeee :cryign:
Btw, I’m waiting for Mojang to approve my Azure app so I can test the auth API

0
0
2
Open comments for this post

4h 36m 29s logged

This whole week is filled with debugging and small updates so here is the summary:

  • Now the Client can handle Chunk datas, including blocks, biomes and block entites :yayayayayay:
  • I also add more packet handling, events and decoder function.
  • I’m moving to high-level client and the first function is move.
    Todo list:
  • Inspect how Minecraft code handle movement and collision.
  • Implement it :D
0
0
4
Open comments for this post

3h 16m 53s logged

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

0
0
3
Open comments for this post

1h 57m 3s logged

I have handled all required packet so this should be theoretically playable.
I also do some refactoring for a cleaner codebase :D

0
0
1
Open comments for this post

2h 19m 1s logged

I forgot to make the devlogs so here is all of the updates:

  • I’m heading towards making the main client
  • All decoder and encoder have been merged to a single file for simpler file structure
  • I’m making the encrypting things
0
0
2
Open comments for this post

1h 52m 34s logged

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.

0
0
5

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…