-
-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.20.2 support #3202
Comments
Yes, 1.20.2 is not supported yet. |
What are the usual steps needed so that we can up the version to 1.20.2? I can make a few pull requests if needed. |
Firstly from my understanding https://github.com/PrismarineJS/minecraft-data needs to be updated for 1.20.2 (New folder with all the appropriate JSON files.) |
any updates? |
Still need nmp pchunk maybe some of the p-* packages then a PR here. Do you
want to help ?
…On Sun, Nov 5, 2023, 10:42 2pla ***@***.***> wrote:
any updates?
cuz i see that minecraft-data has been updated to 1.20.2
—
Reply to this email directly, view it on GitHub
<#3202 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR437RRRMGJU3XHI7LQWCDYC7MY7AVCNFSM6AAAAAA5F7AAGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTHAYTGOBSG4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Any update on this? |
Sadly no. Do you want to help? Next task is adding support in
node-minecraft-protocol
…On Mon, Dec 4, 2023, 08:00 alexpolo1 ***@***.***> wrote:
Any update on this?
—
Reply to this email directly, view it on GitHub
<#3202 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR437XSMFDH52VHRR7QSSTYHVYJDAVCNFSM6AAAAAA5F7AAGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXHE2DSMRQGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
What's the requiremet ? |
I opened a PR at #3243 that achieves basic 1.20.2 support. To get it working, it's necessary to apply patches to both prismarine-nbt and node-minecraft-protocol. Cloning my branches and copying it over I tested that a bot can successfully log in to an offline server and do some interactions (chat, detecting blocks and entities, activating levers and buttons, ...etc). But please do some testings. |
ongoing work at #3243 |
If anyone would like to test, the remaining things are at #3262 (comment) |
1.20.2 support is done right? Is work being done on 1.20.3 and 1.20.4? |
That is waiting on PrismarineJS/node-minecraft-protocol#1275 or at least some form of it. |
1.20.2 is done in #3262 |
I tried this code on vsc, but it says:
Error: unsupported/unknown protocol version: 764, update minecraft-data
at F:\모듈\마인크래프트봇\node_modules\minecraft-protocol\src\client\autoVersion.js:32:28
at F:\모듈\마인크래프트봇\node_modules\minecraft-protocol\src\ping.js:13:7
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
TypeError: Cannot read properties of undefined (reading 'minecraftVersion')
at F:\모듈\마인크래프트봇\node_modules\minecraft-protocol\src\client\autoVersion.js:34:42
at F:\모듈\마인크래프트봇\node_modules\minecraft-protocol\src\ping.js:13:7
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[index.js]
const mineflayer = require("mineflayer");
const bot = mineflayer.createBot({
host: "mjbsv189.aternos.me",
port: 16426,
username: "noH33XD"
})
bot.on("login", () => {
console.log("Logged in");
})
The text was updated successfully, but these errors were encountered: