Initial 1.20.2 support#3243
Conversation
|
can you
|
|
added the version in tested version some things needed here:
|
|
https://minecraft.fandom.com/wiki/Java_Edition_1.20 references of new things https://github.com/PrismarineJS/minecraft-data/blob/master/data/pc/1.20.2/protocol.json to diff against https://github.com/PrismarineJS/minecraft-data/blob/master/data/pc/1.20/protocol.json tasks here
|
the protocol.json link redirect to 404 |
|
Fixed |
|
Adding this into the block.js in mineflayer adds support for the chunk batch system. Normally MC clients average the last 15 chunk batches but I think we can get away with not doing that. |
|
moving to #3262 to make things easier to contribute to |
This PR adds preliminary support for version 1.20.2.
Before merging this PR, we need PrismarineJS/prismarine-nbt#78 and PrismarineJS/node-minecraft-protocol#1264 to be merged and released.
I have tested that a bot can successfully log in to an offline server and interact with chunks using this patch. But I believe additional testing is necessary.