Class LoginCompressionS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.login.LoginCompressionS2CPacket
- All Implemented Interfaces:
Packet<ClientLoginPacketListener>
public class LoginCompressionS2CPacket extends Object implements Packet<ClientLoginPacketListener>
- Mappings:
Namespace Name official jiintermediary net/minecraft/class_1588named net/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private intcompressionThreshold -
Constructor Summary
Constructors Constructor Description LoginCompressionS2CPacket()LoginCompressionS2CPacket(int compressionThreshold) -
Method Summary
Modifier and Type Method Description voidapply(ClientLoginPacketListener clientLoginPacketListener)intgetCompressionThreshold()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)
-
Field Details
-
compressionThreshold
private int compressionThreshold- Mappings:
Namespace Name Mixin selector official aLji;a:Iintermediary field_6483Lnet/minecraft/class_1588;field_6483:Inamed compressionThresholdLnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;compressionThreshold:I
-
-
Constructor Details
-
LoginCompressionS2CPacket
public LoginCompressionS2CPacket() -
LoginCompressionS2CPacket
public LoginCompressionS2CPacket(int compressionThreshold)- Mappings:
Namespace Name Mixin selector official <init>Lji;<init>(I)Vintermediary <init>Lnet/minecraft/class_1588;<init>(I)Vnamed <init>Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;<init>(I)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientLoginPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLff;a(Lem;)Vintermediary method_5238Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientLoginPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLff;b(Lem;)Vintermediary method_5240Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientLoginPacketListener>- Mappings:
Namespace Name Mixin selector official aLji;a(Ljf;)Vintermediary method_5841Lnet/minecraft/class_1588;method_5841(Lnet/minecraft/class_1585;)Vnamed applyLnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V
-
getCompressionThreshold
- Mappings:
Namespace Name Mixin selector official aLji;a()Iintermediary method_5840Lnet/minecraft/class_1588;method_5840()Inamed getCompressionThresholdLnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;getCompressionThreshold()I
-