Uses of Class
com.palmergames.bukkit.towny.object.Coord
Packages that use Coord
Package
Description
-
Uses of Coord in com.palmergames.bukkit.towny.command
Methods in com.palmergames.bukkit.towny.command with parameters of type CoordModifier and TypeMethodDescriptionstatic TownTownCommand.newTown(TownyWorld world, String name, Resident resident, Coord key, org.bukkit.Location spawn, org.bukkit.entity.Player player) static TownTownCommand.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
Subclasses of Coord in com.palmergames.bukkit.towny.objectMethods in com.palmergames.bukkit.towny.object that return CoordModifier and TypeMethodDescriptionCoord.add(int xOffset, int zOffset) TownBlock.getCoord()WorldCoord.getCoord()static CoordCoord.parseCoord(int x, int z) Convert regular grid coordinates to their grid cell's counterparts.static CoordCoord.parseCoord(org.bukkit.block.Block block) static CoordCoord.parseCoord(org.bukkit.entity.Entity entity) static CoordCoord.parseCoord(org.bukkit.Location loc) Methods in com.palmergames.bukkit.towny.object with parameters of type CoordModifier and TypeMethodDescription@Nullable TownBlockTownyWorld.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).intTownyWorld.getMinDistanceFromOtherPlotsOwnedByTown(Coord key, Town town) Returns the distance to the closest townblock from the given coord, for the give town.intTownyWorld.getMinDistanceFromOtherTownsHomeBlocks(Coord key) Checks the distance from the closest homeblock.intTownyWorld.getMinDistanceFromOtherTownsHomeBlocks(Coord key, Town homeTown) Checks the distance from a another town's homeblock, or the distance to another Town if homeTown is null.intTownyWorld.getMinDistanceFromOtherTownsPlots(Coord key) Checks the distance from the closest town block.intTownyWorld.getMinDistanceFromOtherTownsPlots(Coord key, Town homeTown) Checks the distance from a another town's plots.TownyWorld.getTownBlock(Coord coord) booleanTownyWorld.hasTownBlock(Coord key) voidTown.removeOutpostSpawn(Coord coord) Constructors in com.palmergames.bukkit.towny.object with parameters of type CoordModifierConstructorDescriptionWorldCoord(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
Methods in com.palmergames.bukkit.towny.utils with parameters of type CoordModifier and TypeMethodDescriptionstatic voidProximityUtil.allowTownHomeBlockOrThrow(TownyWorld world, Coord key, @Nullable Town town, boolean newTown) static booleanOutpostUtil.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
Methods in com.palmergames.util with parameters of type Coord