Skip to content

Item Components kick 1.21.x players in 26.2 servers #1310

Description

@dinhero21

'/viaversion dump' Output

https://dump.viaversion.com/1b8e5bdd4b30d2773bca46da44a710c18dc68f7672fc1673f743f6bcb537b8c4

Server/Client Error

Server: https://mclo.gs/45D8fjP
Client: https://mclo.gs/ip9i0Ob

Bug Description

Seemingly any item containing any data components can't be translated.
This causes 1.21.1 and 1.21.11 (probably all versions in between) clients to be kicked when an item requiring translation is loaded (being dropped on the ground, added to the inventory, present in an open container, etc).
Items that don't require translation (because they exist in both versions), even containing data components, cause no issue.

Steps to Reproduce

  1. Load a vanilla 1.21.1 client
  2. Load a fabric 26.2 0.19.3 1.1.2 server with the following mods:
  1. Connect to the server
  2. Run /give @a minecraft:sulfur[minecraft:item_name="example"] in the console

Additional Server Info

Server is Fabric.
Minecraft Version: 26.2
Fabric Loader Version: 0.19.3
Installer Version: 1.1.2

In all tests, mods were Fabric API, ViaFabric and ViaBackwards. ~5 combinations of builds from modrinth were tested and one with last successful builds from jenkins. In all tests, the behavior was identical although packet IDs and error messages differed a little.

Client is Vanilla.
Versions 1.21.1 and 1.21.11 were tested.

Checklist

  • Via plugins are only running on EITHER the backend servers (e.g. Paper) OR the proxy (e.g. Velocity), not on both.
  • I have included a ViaVersion dump.
  • If applicable, I have included a paste (not a screenshot) of the error.
  • I have tried a build from https://ci.viaversion.com/ and the issue still persists.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions