public class VehicleMoveMessage extends Object implements com.flowpowered.network.Message
Constructor and Description |
---|
VehicleMoveMessage(double x,
double y,
double z,
float yaw,
float pitch)
Creates a message.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
float |
getPitch() |
double |
getX() |
double |
getY() |
float |
getYaw() |
double |
getZ() |
int |
hashCode() |
String |
toString() |
void |
update(org.bukkit.Location location)
Copies this message's position and orientation to a
Location . |
public VehicleMoveMessage(double x, double y, double z, float yaw, float pitch)
x
- the X coordinatey
- the Y coordinatez
- the Z coordinateyaw
- the yaw anglepitch
- the pitch anglepublic void update(org.bukkit.Location location)
Location
.location
- the location to updatepublic double getX()
public double getY()
public double getZ()
public float getYaw()
public float getPitch()
public boolean equals(Object o)
protected boolean canEqual(Object other)
public int hashCode()
Copyright © 2021. All rights reserved.