Update to 1.19 release

This commit is contained in:
Camotoy 2022-06-06 22:46:19 -04:00
parent cd0520145d
commit 1e5477faf8
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

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