public abstract class S2CDisconnectPacket
extends java.lang.Object
implements net.raphimc.netminecraft.packet.Packet
| Modifier and Type | Field and Description |
|---|---|
net.lenni0451.mcstructs.text.ATextComponent |
reason |
| Constructor and Description |
|---|
S2CDisconnectPacket() |
S2CDisconnectPacket(net.lenni0451.mcstructs.text.ATextComponent reason) |
| Modifier and Type | Method and Description |
|---|---|
void |
read(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion) |
void |
write(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion) |
public S2CDisconnectPacket()
public S2CDisconnectPacket(net.lenni0451.mcstructs.text.ATextComponent reason)
public void write(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion)
write in interface net.raphimc.netminecraft.packet.Packetpublic void read(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion)
read in interface net.raphimc.netminecraft.packet.Packet