Class ClientboundLoginDisconnectPacket

java.lang.Object
com.github.steveice10.mc.protocol.packet.login.clientbound.ClientboundLoginDisconnectPacket
All Implemented Interfaces:
MinecraftPacket, Packet

public class ClientboundLoginDisconnectPacket extends Object implements MinecraftPacket
  • Constructor Details

    • ClientboundLoginDisconnectPacket

      public ClientboundLoginDisconnectPacket(String text)
    • ClientboundLoginDisconnectPacket

      public ClientboundLoginDisconnectPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) throws IOException
      Throws:
      IOException
  • Method Details

    • serialize

      public void serialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) throws IOException
      Specified by:
      serialize in interface MinecraftPacket
      Throws:
      IOException
    • isPriority

      public boolean isPriority()
      Description copied from interface: Packet
      Gets whether the packet has handling priority. If the result is true, the packet will be handled immediately after being decoded.
      Specified by:
      isPriority in interface Packet
      Returns:
      Whether the packet has priority.