Uses of Class
com.palmergames.bukkit.towny.object.Coord
Package
Description
-
Uses of Coord in com.palmergames.bukkit.towny.command
Modifier and TypeMethodDescriptionstatic Town
TownCommand.newTown
(TownyWorld world, String name, Resident resident, Coord key, org.bukkit.Location spawn, org.bukkit.entity.Player player) static Town
TownCommand.newTown
(TownyWorld world, String name, Resident resident, Coord key, org.bukkit.Location spawn, org.bukkit.entity.Player player, double cost) -
Uses of Coord in com.palmergames.bukkit.towny.object
Modifier and TypeMethodDescriptionCoord.add
(int xOffset, int zOffset) TownBlock.getCoord()
WorldCoord.getCoord()
static Coord
Coord.parseCoord
(int x, int z) Convert regular grid coordinates to their grid cell's counterparts.static Coord
Coord.parseCoord
(org.bukkit.block.Block block) static Coord
Coord.parseCoord
(org.bukkit.entity.Entity entity) static Coord
Coord.parseCoord
(org.bukkit.Location loc) Modifier and TypeMethodDescription@Nullable TownBlock
TownyWorld.getClosestTownblockWithNationFromCoord
(Coord key) Get the town block that belongs to the closest town with a nation from the specified coord.TownyWorld.getClosestTownWithNationFromCoord
(Coord key, Town nearestTown) Returns the closest town with a nation from a given coord (key).int
TownyWorld.getMinDistanceFromOtherPlotsOwnedByTown
(Coord key, Town town) Returns the distance to the closest townblock from the given coord, for the give town.int
TownyWorld.getMinDistanceFromOtherTownsHomeBlocks
(Coord key) Checks the distance from the closest homeblock.int
TownyWorld.getMinDistanceFromOtherTownsHomeBlocks
(Coord key, Town homeTown) Checks the distance from a another town's homeblock, or the distance to another Town if homeTown is null.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.TownyWorld.getTownBlock
(Coord coord) boolean
TownyWorld.hasTownBlock
(Coord key) void
Town.removeOutpostSpawn
(Coord coord) ModifierConstructorDescriptionWorldCoord
(String worldName, Coord coord) WorldCoord
(String worldName, UUID worldUUID, Coord coord) WorldCoord
(@NotNull org.bukkit.World world, Coord coord) -
Uses of Coord in com.palmergames.bukkit.towny.utils
Modifier and TypeMethodDescriptionstatic void
ProximityUtil.allowTownHomeBlockOrThrow
(TownyWorld world, Coord key, @Nullable Town town, boolean newTown) static boolean
OutpostUtil.OutpostTests
(Town town, Resident resident, TownyWorld world, Coord key, boolean isAdmin, boolean isPlotSetOutpost) Checks to make sure all requirements are met before an outpost can be claimed. -
Uses of Coord in com.palmergames.util