Class NpcLocation

java.lang.Object
lol.pyr.znpcsplus.util.NpcLocation

public class NpcLocation extends Object
  • 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

      public NpcLocation centered()
    • toBukkitLocation

      public org.bukkit.Location toBukkitLocation(org.bukkit.World world)
    • withY

      public NpcLocation withY(double y)
    • lookingAt

      public NpcLocation lookingAt(org.bukkit.Location loc)
    • lookingAt

      public NpcLocation lookingAt(NpcLocation loc)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object