Package lol.pyr.znpcsplus.util
Class NpcLocation
java.lang.Object
lol.pyr.znpcsplus.util.NpcLocation
-
Constructor Summary
ConstructorsConstructorDescriptionNpcLocation
(double x, double y, double z, float yaw, float pitch) NpcLocation
(org.bukkit.Location location) -
Method Summary
-
Constructor Details
-
NpcLocation
public NpcLocation(double x, double y, double z, float yaw, float pitch) -
NpcLocation
public NpcLocation(org.bukkit.Location location)
-
-
Method Details
-
getX
public double getX() -
getBlockX
public int getBlockX() -
getY
public double getY() -
getBlockY
public int getBlockY() -
getZ
public double getZ() -
getBlockZ
public int getBlockZ() -
getYaw
public float getYaw() -
getPitch
public float getPitch() -
centered
-
toBukkitLocation
public org.bukkit.Location toBukkitLocation(org.bukkit.World world) -
withY
-
lookingAt
-
lookingAt
-
equals
-
hashCode
public int hashCode()
-