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