Missing registry error on client when using latest dev build
Describe the bug
I understand there's been no official release for 1.21.6 support yet but I saw #1247 and tried out the latest 2.9.0 build (2973) of the 2.0 branch and I get a "Network Protocol Error" when I attempt to connect via Velocity - this happens to either 1.21.4 or 1.21.6, unable to establish any valid connection.
I'm not sure if this is known/still being worked on or something broken/incorrect on my end. I've tried disabling various plugins on Velocity but not sure what might need to change on the backend server, if anything.
Software brand
Velocity: velocity-3.4.0-SNAPSHOT-514
Velocity PE: packetevents-velocity-2.9.0-2973
Purpur backend servers: tried purpur-1.21.6-2453 AND purpur-1.21.4-2394 (with ViaVersion 5.3.3)
Additional context Client error log:
java.lang.IllegalStateException: Missing registry: ResourceKey[minecraft:root / minecraft:worldgen/biome]
at knot//net.minecraft.class_5455.method_30534(class_5455.java:22)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at knot//net.minecraft.class_5455.method_30530(class_5455.java:22)
at knot//net.minecraft.class_9173.method_62160(class_9173.java:59)
at knot//net.minecraft.class_9173.method_62161(class_9173.java:136)
at java.base/java.util.HashMap.forEach(HashMap.java:1429)
at knot//net.minecraft.class_9173$class_9954.method_62163(class_9173.java:166)
at knot//net.minecraft.class_9173.method_62157(class_9173.java:134)
at knot//net.minecraft.class_9173.method_56585(class_9173.java:150)
at knot//net.minecraft.class_8674.method_57043(class_8674.java:117)
at knot//net.minecraft.class_8674.method_57044(class_8674.java:109)
at knot//net.minecraft.class_8674.method_52794(class_8674.java:117)
at knot//net.minecraft.class_8733.method_53041(class_8733.java:22)
at knot//net.minecraft.class_8733.method_65081(class_8733.java:8)
at knot//net.minecraft.class_2600.method_11072(class_2600.java:27)
at knot//net.minecraft.class_1255.method_18859(class_1255.java:164)
at knot//net.minecraft.class_4093.method_18859(class_4093.java:23)
at knot//net.minecraft.class_1255.method_16075(class_1255.java:138)
at knot//net.minecraft.class_1255.method_5383(class_1255.java:123)
at knot//net.minecraft.class_310.method_1523(class_310.java:1308)
at knot//net.minecraft.class_310.method_1514(class_310.java:936)
at knot//net.minecraft.client.main.Main.main(Main.java:265)
-- Incoming Packet --
Details:
Type: clientbound/minecraft:finish_configuration
Is Terminal: true
Is Skippable: false
Stacktrace:
at knot//net.minecraft.class_2600.method_59803(class_2600.java:56)
at knot//net.minecraft.class_8673.method_60882(class_8673.java:131)
at knot//net.minecraft.class_8673.method_59807(class_8673.java:110)
at knot//net.minecraft.class_2600.method_11072(class_2600.java:32)
at knot//net.minecraft.class_1255.method_18859(class_1255.java:164)
at knot//net.minecraft.class_4093.method_18859(class_4093.java:23)
at knot//net.minecraft.class_1255.method_16075(class_1255.java:138)
at knot//net.minecraft.class_1255.method_5383(class_1255.java:123)
at knot//net.minecraft.class_310.method_1523(class_310.java:1308)
at knot//net.minecraft.class_310.method_1514(class_310.java:936)
at knot//net.minecraft.client.main.Main.main(Main.java:265)
Oh also I forgot to mention, if I rollback PacketEvents to the 2.8.0 release, I'm able to connect with 1.21.6 OR 1.21.4 clients fine on the same backend servers.. although proper 1.21.6 support obviously isn't there, which is why I was trying the latest 2.9.0 build.
I also tried a fully clean 1.21.6 Purpur backend server with no plugins, and had the same error on the client.
Not sure if that helps?
Also have similar error.
@addstar please test if this issue has been resolved with the latest release
@addstar please test if this issue has been resolved with the latest release
Sorry for the delay in responding, just did some Velocity testing with 2.9.1 and it works fine now 🎉 thanks!
Only did minimal testing, but clients connect fine now, no errors or issues with connections from what I can see.