Package | Description |
---|---|
com.palmergames.bukkit.towny.command | |
com.palmergames.bukkit.towny.object |
Modifier and Type | Method and Description |
---|---|
Town |
TownCommand.newTown(TownyWorld world,
java.lang.String name,
Resident resident,
Coord key,
org.bukkit.Location spawn) |
void |
TownCommand.showTownStatusAtCoord(org.bukkit.entity.Player player,
TownyWorld world,
Coord coord)
Send a the status of the town at the target coordinates to the player
|
Modifier and Type | Class and Description |
---|---|
class |
CellBorder |
class |
WorldCoord |
Modifier and Type | Method and Description |
---|---|
Coord |
Coord.add(int xOffset,
int zOffset) |
Coord |
WorldCoord.getCoord() |
Coord |
TownBlock.getCoord() |
static Coord |
Coord.parseCoord(org.bukkit.block.Block block) |
static Coord |
Coord.parseCoord(org.bukkit.entity.Entity entity) |
static Coord |
Coord.parseCoord(int x,
int z)
Convert regular grid coordinates to their grid cell's counterparts.
|
static Coord |
Coord.parseCoord(org.bukkit.Location loc) |
Modifier and Type | Method and Description |
---|---|
void |
TownyWorld.addWarZone(Coord coord) |
int |
TownyWorld.getMinDistanceFromOtherTowns(Coord key)
Checks the distance from the closest homeblock.
|
int |
TownyWorld.getMinDistanceFromOtherTowns(Coord key,
Town homeTown)
Checks the distance from a another town's homeblock.
|
int |
TownyWorld.getMinDistanceFromOtherTownsPlots(Coord key)
Checks the distance from the closest town block.
|
int |
TownyWorld.getMinDistanceFromOtherTownsPlots(Coord key,
Town homeTown)
Checks the distance from a another town's plots.
|
TownBlock |
TownyWorld.getTownBlock(Coord coord) |
boolean |
TownyWorld.hasTownBlock(Coord key) |
boolean |
TownyWorld.isWarZone(Coord coord) |
TownBlock |
TownyWorld.newTownBlock(Coord key) |
void |
TownyWorld.removeTownBlock(Coord coord) |
void |
TownyWorld.removeWarZone(Coord coord) |
Constructor and Description |
---|
Coord(Coord coord) |
WorldCoord(java.lang.String worldName,
Coord coord) |
WorldCoord(TownyWorld world,
Coord coord)
Deprecated.
|