-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Parsing ClientboundSetEntityDataPacket #169
Comments
Also having common
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to get the Vec from ClientboundSetEntityDataPacket.packed_items that the server sends me when I update an item and rotate that item in the frame (data in this packet). I am trying to use TryFrom for this:
But I get the error
Index 8 is too big
.I have studied the TryFrom code and came to the conclusion that this check is not needed here or is written incorrectly:
In the protocol it says
From this we can conclude that not all fields are always sent and their number does not necessarily equal the maximum index in the packet.
Can you fix this or explain how to properly parse such packets?
The packet I received
The text was updated successfully, but these errors were encountered: