public class C2SHandshakePacket
extends java.lang.Object
implements net.raphimc.netminecraft.packet.IPacket
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
address |
net.raphimc.netminecraft.constants.IntendedState |
intendedState |
int |
port |
int |
protocolVersion |
| Constructor and Description |
|---|
C2SHandshakePacket() |
C2SHandshakePacket(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) |
void |
write(io.netty.buffer.ByteBuf byteBuf) |
public int protocolVersion
public java.lang.String address
public int port
public net.raphimc.netminecraft.constants.IntendedState intendedState