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 uu
intermediary net/minecraft/class_2907
named net/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private int
compressionThreshold
-
Constructor Summary
Constructors Constructor Description LoginCompressionS2CPacket()
LoginCompressionS2CPacket(int compressionThreshold)
-
Method Summary
Modifier and Type Method Description void
apply(ClientLoginPacketListener clientLoginPacketListener)
int
getCompressionThreshold()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
compressionThreshold
private int compressionThreshold- Mappings:
Namespace Name Mixin selector official a
Luu;a:I
intermediary field_13232
Lnet/minecraft/class_2907;field_13232:I
named compressionThreshold
Lnet/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>
Luu;<init>(I)V
intermediary <init>
Lnet/minecraft/class_2907;<init>(I)V
named <init>
Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;<init>(I)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientLoginPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientLoginPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientLoginPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Luu;a(Luq;)V
intermediary method_12633
Lnet/minecraft/class_2907;method_12633(Lnet/minecraft/class_2896;)V
named apply
Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V
-
getCompressionThreshold
- Mappings:
Namespace Name Mixin selector official b
Luu;b()I
intermediary method_12634
Lnet/minecraft/class_2907;method_12634()I
named getCompressionThreshold
Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;getCompressionThreshold()I
-