PrismarineJS / minecraft-data

Language independent module providing minecraft data for minecraft clients, servers and libraries.
https://prismarinejs.github.io/minecraft-data
669 stars 222 forks source link

bedrock 1.21.0+ item_stack_request incorrectly deserialized/serialized #893

Closed bedrock-bot closed 4 months ago

bedrock-bot commented 4 months ago

Steps to reproduce:

  1. Use Minecraft bedrock 1.21.1 client to connect to bedrock 1.21.1 server vis bedrock-protocol proxy.
  2. Use auto craft (shift + click) to make 64 sticks.
  3. server disconnects client because item_stack_request was incorrectly deserialized and serialized.

original-packet-hex.txt derialized-serialized-packet-hex.txt parsed.json

extremeheat commented 4 months ago

Seems incorrect indeed for auto crafting mode since 1.19.40+

bedrock-bot commented 4 months ago

It still fails in 1.21.2. craft_recipe_auto has additional 12 bytes after ingredients data.