Prepare for release protocol

This commit is contained in:
Camotoy 2024-06-12 22:50:37 -04:00
parent cdb19eb946
commit f9cc9ee6f6
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

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