Skip to content
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.21.4: Read error for undefined : Invalid tag: 75 > 20 #3583

Open
1 task done
DatArnoGuy opened this issue Feb 13, 2025 · 0 comments
Open
1 task done

1.21.4: Read error for undefined : Invalid tag: 75 > 20 #3583

DatArnoGuy opened this issue Feb 13, 2025 · 0 comments
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f

Comments

@DatArnoGuy
Copy link
Contributor

DatArnoGuy commented Feb 13, 2025

  • The FAQ doesn't contain a resolution to my issue

Versions

  • mineflayer: 4.25.0
  • server: paper 1.21.4
  • node: 22.13.1

Detailed description of a problem

My bot is playing on 1.21.4 server, but it crashes with the error in red box. I think the crashing might be related to another error in yellow box, if this is the case, that means the bot can't understand some packets, maybe related to 1.21.4 ability to add colored texture parts to items?

The error does not happen in every places, so I think there is armor stand or something with custom colored item somewhere in render distance of my bot.

Error messages in console when this happened first time:
Image

What did you try yet?

Restart the bot, but it crashes with same error.

Your current code

My code should not be related here, this seems to be mineflayer/node-minecraft-protocol/protodef error.

Additional context

The error in yellow box MIGHT not be related to the crashing error, since it does not appear when restarting the bot. When restarting, only "Read error for undefined : Invalid tag: 75 > 20" appears.

Error message in console when I try to restart the bot:

Error: Read error for undefined : Invalid tag: 75 > 20
    at Object.compound (eval at compile (/root/botti/node_modules/protodef/src/compiler.js:262:12), <anonymous>:16:21)
    at Object.nbtSwitch (eval at compile (/root/botti/node_modules/protodef/src/compiler.js:262:12), <anonymous>:4241:47)
    at Object.anonymousNbt (eval at compile (/root/botti/node_modules/protodef/src/compiler.js:262:12), <anonymous>:82:64)
    at eval (eval at compile (/root/botti/node_modules/protodef/src/compiler.js:262:12), <anonymous>:282:56)
    at Object.SlotComponent (eval at compile (/root/botti/node_modules/protodef/src/compiler.js:262:12), <anonymous>:977:9)
    at eval (eval at compile (/root/botti/node_modules/protodef/src/compiler.js:262:12), <anonymous>:996:49)
    at eval (eval at compile (/root/botti/node_modules/protodef/src/compiler.js:262:12), <anonymous>:1001:15)
    at eval (eval at compile (/root/botti/node_modules/protodef/src/compiler.js:262:12), <anonymous>:1019:13)
    at Object.Slot (eval at compile (/root/botti/node_modules/protodef/src/compiler.js:262:12), <anonymous>:1021:9)
    at eval (eval at compile (/root/botti/node_modules/protodef/src/compiler.js:262:12), <anonymous>:3390:61) {
  field: 'play.toClient'
}
@DatArnoGuy DatArnoGuy added possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Projects
None yet
Development

No branches or pull requests

1 participant