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.20.5 Protocol #884

Closed
wants to merge 5 commits into from
Closed

Conversation

forester302
Copy link

Update protocol to 1.20.5 as specified in https://wiki.vg/index.php?title=Pre-release_protocol&oldid=19287

@extremeheat
Copy link
Member

There are several things missing. For example any places where item stacks are written now have optional slots (like ServerboundSetCreativeModeSlotPacket, ServerboundContainerClickPacket, etc). Also ServerboundContainerButtonClickPacket now uses varints over i8's. There are likely more.

Comment on lines 3621 to 3631
"name": "x",
"type": "i8"
},
{
"name": "z",
"type": "i8"
},
{
"name": "direction",
"type": "u8"
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"packet_world_particles": [
"container",
[
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@extremeheat
Copy link
Member

Also need item fixed

  • ClientboundUpdateRecipesPacket
  • ClientboundUpdateAdvancementsPacket.java

Comment on lines +159 to +167
"max_stack_size_component": [
"container",
[
{
"name": "maxStackSize",
"type": "varint"
}
]
],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason these are not inlined?

@rom1504
Copy link
Member

rom1504 commented Jul 26, 2024

continuing at #898

@rom1504 rom1504 closed this Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

3 participants