Prepare for release protocol

This commit is contained in:
Camotoy 2022-12-05 19:59:22 -05:00
parent e07e4b0280
commit 3599568c88
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -195,9 +195,9 @@ public class MinecraftCodec {
}
public static final PacketCodec CODEC = PacketCodec.builder()
.protocolVersion((1 << 30) | 112)
.protocolVersion(761)
.helper(() -> new MinecraftCodecHelper(LEVEL_EVENTS, SOUND_NAMES))
.minecraftVersion("1.19.3-rc1")
.minecraftVersion("1.19.3")
.state(ProtocolState.HANDSHAKE, PacketStateCodec.builder()
.registerServerboundPacket(0x00, ClientIntentionPacket.class, ClientIntentionPacket::new)
)