Adjust game height and minimum Y values#3773
Adjust game height and minimum Y values#3773Erdef119 wants to merge 1 commit intoPrismarineJS:masterfrom
Conversation
The minimum Y and max height was wrong
|
so cool now I can bot my server |
|
This is supposed to be set by the server in the codec and specific dimension data, why are you hard coding it ? The default values are set simply for old versions. |
|
well it didn't work on a server i was playing on and there is a check for onGround below y 0, idk why it doesn't work but when i changed these values it worked |
|
Can you provide log output after adding this code : bot._client.on('login', (d) => console.dir(d, { depth: null })
bot._client.on('respawn', (d) => console.dir(d, { depth: null })
bot.on('spawn', () => console.dir(bot.registry.dimensionsByName, { depth: null }) |
|
out.txt |
|
I have just looked into the logs, and there is data from the other servers |
|
Could be an issue with mismatched field names between |
The minimum Y was wrong for versions >1.17, and height was wrong for >1.18