Update for 1.18-rc1

This commit is contained in:
Camotoy 2021-11-25 11:54:26 -05:00
parent 8eca14983a
commit 825804d194

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) | 56)
.minecraftVersion("1.18-pre8")
.protocolVersion((1 << 30) | 57)
.minecraftVersion("1.18-rc1")
.state(ProtocolState.HANDSHAKE, PacketStateCodec.builder()
.registerServerboundPacket(0x00, ClientIntentionPacket.class, ClientIntentionPacket::new)
)