public class VehicleMoveC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Modifier and Type | Field and Description |
---|---|
private float |
pitch |
private double |
x |
private double |
y |
private float |
yaw |
private double |
z |
Constructor and Description |
---|
VehicleMoveC2SPacket() |
VehicleMoveC2SPacket(Entity entity) |
Modifier and Type | Method and Description |
---|---|
void |
apply(ServerPlayPacketListener serverPlayPacketListener) |
float |
getPitch() |
double |
getX() |
double |
getY() |
float |
getYaw() |
double |
getZ() |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWritingErrorSkippable
private double x
private double y
private double z
private float yaw
private float pitch
public VehicleMoveC2SPacket()
public VehicleMoveC2SPacket(Entity entity)
public void read(PacketByteBuf buf) throws IOException
read
in interface Packet<ServerPlayPacketListener>
IOException
public void write(PacketByteBuf buf) throws IOException
write
in interface Packet<ServerPlayPacketListener>
IOException
public void apply(ServerPlayPacketListener serverPlayPacketListener)
apply
in interface Packet<ServerPlayPacketListener>
public double getX()
public double getY()
public double getZ()
public float getYaw()
public float getPitch()