net.minecraft.network.packet.s2c.login

public class LoginCompressionS2CPacket

implements Packet<ClientLoginPacketListener>

net.minecraft.network.protocol.login.ClientboundLoginCompressionPacket
net.minecraft.class_2907
net.minecraft.network.packet.s2c.login.LoginCompressionS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, LoginCompressionS2CPacket>
STREAM_CODEC
field_48236
CODEC
private final int
compressionThreshold
field_13232
compressionThreshold

Constructor summary

ModifierConstructor
public (int compressionThreshold)
private (PacketByteBuf buf)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_56014(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<LoginCompressionS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientLoginPacketListener listener)
method_12633(class_2896 arg0)
apply(ClientLoginPacketListener arg0)
public int
getCompressionThreshold()
method_12634()
getCompressionThreshold()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)