Class SEnableCompressionPacket
java.lang.Object
net.minecraft.network.login.server.SEnableCompressionPacket
- All Implemented Interfaces:
IPacket<IClientLoginNetHandler>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
handle
(IClientLoginNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) 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.IPacket
isSkippable
-
Field Details
-
compressionThreshold
private int compressionThreshold
-
-
Constructor Details
-
SEnableCompressionPacket
public SEnableCompressionPacket() -
SEnableCompressionPacket
public SEnableCompressionPacket(int p_i46854_1_)
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientLoginNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientLoginNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientLoginNetHandler>
-
getCompressionThreshold
public int getCompressionThreshold()
-