Update 1.20.2

This commit is contained in:
Konicai 2023-09-21 11:50:01 -04:00
parent 953194c10a
commit fb01285553

View file

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