public class NPacketPlayInSteerVehicle extends Object implements NPacketPlayIn
Modifier and Type | Field and Description |
---|---|
float |
forward |
boolean |
jumping |
float |
sideways |
boolean |
sneaking |
Constructor and Description |
---|
NPacketPlayInSteerVehicle() |
NPacketPlayInSteerVehicle(float sideways,
float forward,
boolean jumping,
boolean sneaking) |
Modifier and Type | Method and Description |
---|---|
PacketType |
getPacketType()
Get type of packet
|
void |
read(PacketSerializer serializer,
Version version)
Read packet from given serializer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, getPacketName, write
public float sideways
public float forward
public boolean jumping
public boolean sneaking
public NPacketPlayInSteerVehicle()
public NPacketPlayInSteerVehicle(float sideways, float forward, boolean jumping, boolean sneaking)
public void read(PacketSerializer serializer, Version version)
NPacket
public PacketType getPacketType()
NPacket
getPacketType
in interface NPacket