ViaVersion icon indicating copy to clipboard operation
ViaVersion copied to clipboard

[1.21.5->1.21.10]Custom enchantment packet conversion error

Open skyfsj opened this issue 11 months ago • 5 comments

/viaversion dump Output

https://dump.viaversion.com/5b8a6fae7a4742d94381dce7c2b43c7d5c6fc7286b4e025620bb67f84c47d765

Server/Client Error

minecraft client debug logger: https://mclo.gs/8N2RBVy

Bug Description

When running ViaVersion and ViaBackwards on a Velocity proxy, a 1.21.5 client fails to connect to a 1.21.10 server, resulting in a network protocol error during login/handshake.

This happens consistently and prevents the client from joining the server.

Environment

Proxy: Velocity

Velocity version: 3.4.0-SNAPSHOT-558

ViaVersion: 5.6.1-SNAPSHOT

ViaBackwards: 5.6.0

Server version: Minecraft 1.21.10

Client version: Minecraft 1.21.5

Java version: 21

Steps to Reproduce

  1. Set up a Velocity proxy
  • ViaVersion 5.6.1-SNAPSHOT

  • ViaBackwards 5.6.0

  1. Connect Velocity to a backend server running Minecraft 1.21.10

  2. Attempt to join the server using a Minecraft 1.21.5 client

  3. Observe the protocol/network error during connection

Additional Server Info

Other plugins:
Ambassador-Velocity-1.4.5-all.jar
Geyser-Velocity.jar
MySQLWhitelistVelocity-1.2.0-all.jar
floodgate-velocity.jar
CleanPing.jar
LuckPerms-Velocity-5.5.0.jar
minimotd-velocity-2.2.2.jar
Essential-Playerinfo-Plugin-3.1.0-snapshot-refactored.jar
MultiLogin-Velocity-Build_b0bbde9.jar

Checklist

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

skyfsj avatar Dec 19 '25 08:12 skyfsj

Platform: velocity%203.4.0--SNAPSHOT%20%28git--8f65a814--b558%29
ViaVersion (5.6.1-SNAPSHOT): Even with master
ViaBackwards(5.6.0): 4 commits behind master

Please update all Via* plugins from https://ci.viaversion.com/ .In case the issue still persists send the new dump and the issue will be reopened

Athena Log Analysis

Platform Information:

Property Details
Contains Via :x:
Platform Type Client (vanilla or modded)
Is Proxy :x:

Barvalg avatar Dec 19 '25 08:12 Barvalg

Update ViaBackwards dump: https://dump.viaversion.com/7c966cb5d8d6f761c5f4f4e31595e16ad0617376b4cb9a26ad2cd2ce6e1a394a

skyfsj avatar Dec 19 '25 08:12 skyfsj

Platform: velocity%203.4.0--SNAPSHOT%20%28git--8f65a814--b558%29
ViaVersion (5.6.1-SNAPSHOT): Even with master
ViaBackwards(5.6.1-SNAPSHOT): Even with master

Barvalg avatar Dec 19 '25 08:12 Barvalg

Can you send whatever plugin or datapack you are using for custom enchantments with its config, assuming you have one?

kennytv avatar Dec 19 '25 08:12 kennytv

Packet comes from: https://modrinth.com/datapack/katters-structures

skyfsj avatar Dec 19 '25 08:12 skyfsj