Class LocationRange

java.lang.Object
net.winmister332.libs.player.LocationRange

public class LocationRange extends Object
Handles checking if a player is in range of a specified location within a world.
  • Constructor Details

    • LocationRange

      public LocationRange(org.bukkit.Location location, int range)
  • Method Details

    • getMinX

      public int getMinX()
    • getMinY

      public int getMinY()
    • getMinZ

      public int getMinZ()
    • getMaxLocationInRange

      public org.bukkit.Location getMaxLocationInRange()
    • getMaxX

      public int getMaxX()
    • getMaxY

      public int getMaxY()
    • getMaxZ

      public int getMaxZ()
    • isPlayerInRange

      public boolean isPlayerInRange(org.bukkit.entity.Player player)
    • isEntityInRange

      public boolean isEntityInRange(org.bukkit.entity.LivingEntity entity)