public class TARDISWorldBorderChecker
extends java.lang.Object
Constructor and Description |
---|
TARDISWorldBorderChecker(TARDIS plugin) |
Modifier and Type | Method and Description |
---|---|
int[] |
getBorderDistance(java.lang.String world)
Gets the border radius for a specified world.
|
boolean |
isInBorder(org.bukkit.Location l)
Checks to see whether the specified location is within a WorldBorder border.
|
public TARDISWorldBorderChecker(TARDIS plugin)
public boolean isInBorder(org.bukkit.Location l)
l
- the location to check.public int[] getBorderDistance(java.lang.String world)
world
- the world to get the radius for