Skip to content

Handle dropped item owners, HUD snapshots and snowlogged blocks - #495

Open
guhlutions wants to merge 2 commits into
ViaVersionAddons:mainfrom
guhlutions:fix/bedrock-realm-inventory-and-snow
Open

guhlutions wants to merge 2 commits into
ViaVersionAddons:mainfrom
guhlutions:fix/bedrock-realm-inventory-and-snow

Conversation

@guhlutions

Copy link
Copy Markdown

A Bedrock 1.26.60 Realm sent three kinds of packets that produced warnings in a Java 26.3 session.

  • Dropped items can carry an OWNER field. Java does not have matching item metadata, and Bedrock handles pickup rules server-side, so skip that field for items.
  • The HUD container sends full snapshots with 57 entries. Accept those snapshots and retain support for the previous 54-entry form. Cursor and crafting slots still go to the Java player inventory.
  • Bedrock can store vegetation in the second layer below a snow layer. Keep the Java snow depth and retain both source layers. Use the same logic for chunks and block updates.

Verified item and tameable owner metadata, HUD packets of both sizes and rejection of a malformed snapshot, and the reported short-grass combinations with one, two, and three layers of snow. Also verified waterlogging and snow removal updates. The patched ViaProxy build joined the Realm with none of the three reported warnings in the resulting log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant