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 ve
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(int compressionThreshold)
LoginCompressionS2CPacket(PacketByteBuf buf)
-
Method Summary
Modifier and Type Method Description void
apply(ClientLoginPacketListener clientLoginPacketListener)
int
getCompressionThreshold()
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 final int compressionThreshold- Mappings:
Namespace Name Mixin selector official a
Lve;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(int compressionThreshold)- Mappings:
Namespace Name Mixin selector official <init>
Lve;<init>(I)V
intermediary <init>
Lnet/minecraft/class_2907;<init>(I)V
named <init>
Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;<init>(I)V
-
LoginCompressionS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lve;<init>(Lnx;)V
intermediary <init>
Lnet/minecraft/class_2907;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientLoginPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpb;a(Lnx;)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
Lve;a(Lva;)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
Lve;b()I
intermediary method_12634
Lnet/minecraft/class_2907;method_12634()I
named getCompressionThreshold
Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;getCompressionThreshold()I
-