Class VehicleMoveMessage
java.lang.Object
net.glowstone.net.message.play.entity.VehicleMoveMessage
- All Implemented Interfaces:
com.flowpowered.network.Message
-
Constructor Summary
ConstructorDescriptionVehicleMoveMessage
(double x, double y, double z, float yaw, float pitch) Creates a message. -
Method Summary
-
Constructor Details
-
VehicleMoveMessage
public VehicleMoveMessage(double x, double y, double z, float yaw, float pitch) Creates a message.- Parameters:
x
- the X coordinatey
- the Y coordinatez
- the Z coordinateyaw
- the yaw anglepitch
- the pitch angle
-
-
Method Details
-
update
public void update(org.bukkit.Location location) Copies this message's position and orientation to aLocation
.- Parameters:
location
- the location to update
-
getX
public double getX() -
getY
public double getY() -
getZ
public double getZ() -
getYaw
public float getYaw() -
getPitch
public float getPitch() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-