public class VehicleMoveS2CPacket extends Object implements Packet<ClientPlayPacketListener>
| Modifier and Type | Field and Description |
|---|---|
private float |
pitch |
private double |
x |
private double |
y |
private float |
yaw |
private double |
z |
| Constructor and Description |
|---|
VehicleMoveS2CPacket() |
VehicleMoveS2CPacket(Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClientPlayPacketListener clientPlayPacketListener) |
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, waitisWritingErrorSkippableprivate double x
private double y
private double z
private float yaw
private float pitch
public VehicleMoveS2CPacket()
public VehicleMoveS2CPacket(Entity entity)
public void read(PacketByteBuf buf) throws IOException
read in interface Packet<ClientPlayPacketListener>IOExceptionpublic void write(PacketByteBuf buf) throws IOException
write in interface Packet<ClientPlayPacketListener>IOExceptionpublic void apply(ClientPlayPacketListener clientPlayPacketListener)
apply in interface Packet<ClientPlayPacketListener>@Environment(value=CLIENT) public double getX()
@Environment(value=CLIENT) public double getY()
@Environment(value=CLIENT) public double getZ()
@Environment(value=CLIENT) public float getYaw()
@Environment(value=CLIENT) public float getPitch()