public class C2SHandshakingClientIntentionPacket
extends java.lang.Object
implements net.raphimc.netminecraft.packet.Packet
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
address |
net.raphimc.netminecraft.constants.IntendedState |
intendedState |
int |
port |
int |
protocolVersion |
| Constructor and Description |
|---|
C2SHandshakingClientIntentionPacket() |
C2SHandshakingClientIntentionPacket(int protocolVersion,
java.lang.String address,
int port,
net.raphimc.netminecraft.constants.IntendedState intendedState) |
| 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 int protocolVersion
public java.lang.String address
public int port
public net.raphimc.netminecraft.constants.IntendedState intendedState
public C2SHandshakingClientIntentionPacket()
public C2SHandshakingClientIntentionPacket(int protocolVersion,
java.lang.String address,
int port,
net.raphimc.netminecraft.constants.IntendedState intendedState)
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