Class ClientboundLoginCompressionPacket
java.lang.Object
com.github.steveice10.mc.protocol.packet.login.clientbound.ClientboundLoginCompressionPacket
- All Implemented Interfaces:
MinecraftPacket,Packet
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundLoginCompressionPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether the packet has handling priority.voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper)
-
Constructor Details
-
ClientboundLoginCompressionPacket
public ClientboundLoginCompressionPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) throws IOException - Throws:
IOException
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket- Throws:
IOException
-
isPriority
public boolean isPriority()Description copied from interface:PacketGets whether the packet has handling priority. If the result is true, the packet will be handled immediately after being decoded.- Specified by:
isPriorityin interfacePacket- Returns:
- Whether the packet has priority.
-