Uses of Class
com.palmergames.bukkit.towny.object.Position
-
Uses of Position in com.palmergames.bukkit.towny.object
Modifier and TypeClassDescriptionclass
A worldname, x, y, z location used to validate SpawnPoints.Modifier and TypeMethodDescription@NotNull Position
Position.blockPosition()
static Position
Position.deserialize
(@NotNull String[] data) SpawnPoint.getPosition()
static Position
Position.ofLocation
(@NotNull org.bukkit.Location location) static Position
Position.positionOf
(@NotNull TownyWorld world, double x, double y, double z) static Position
Position.positionOf
(@NotNull TownyWorld world, double x, double y, double z, float pitch, float yaw) @Nullable Position
Nation.spawnPosition()
@Nullable Position
SpawnPosition.spawnPosition()
Gets the spawn location of this object.@Nullable Position
Town.spawnPosition()
Modifier and TypeMethodDescriptionvoid
Town.addOutpostSpawn
(Position position) Add or update an outpost spawn for a town.void
Town.forceAddOutpostSpawn
(Position position) Only to be called from the Loading methods.boolean
Town.isInsideTown
(@NotNull Position position) Tests whether a position is inside this town's boundariesstatic SpawnPointLocation
void
Nation.spawnPosition
(@Nullable Position spawn) void
SpawnPosition.spawnPosition
(@Nullable Position position) Sets the spawn position of this object.void
Town.spawnPosition
(@Nullable Position spawn) -
Uses of Position in com.palmergames.bukkit.towny.object.jail