Update to 1.18-pre4

This commit is contained in:
Camotoy 2021-11-18 16:08:59 -05:00
parent b8e980163c
commit a4267d0fe8
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -124,8 +124,8 @@ import com.github.steveice10.mc.protocol.packet.status.serverbound.ServerboundSt
public class MinecraftCodec {
public static final PacketCodec CODEC = PacketCodec.builder()
.protocolVersion((1 << 30) | 49)
.minecraftVersion("1.18-pre1")
.protocolVersion((1 << 30) | 52)
.minecraftVersion("1.18-pre4")
.state(ProtocolState.HANDSHAKE, PacketStateCodec.builder()
.registerServerboundPacket(0x00, ClientIntentionPacket.class, ClientIntentionPacket::new)
)