Class CellBorder
java.lang.Object
com.palmergames.bukkit.towny.object.Coord
com.palmergames.bukkit.towny.object.WorldCoord
com.palmergames.bukkit.towny.object.CellBorder
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean[]
boolean
boolean
void
runBorderedOnSurface
(int wallHeight, int cornerHeight, Consumer<org.bukkit.Location> locationConsumer) void
setBorderAt
(CellBorder.Section s, boolean b) toString()
Methods inherited from class com.palmergames.bukkit.towny.object.WorldCoord
add, canBeStolen, cellChanged, equals, getBoundingBox, getBukkitWorld, getCardinallyAdjacentWorldCoords, getChunkPositions, getChunkPositions, getChunks, getCoord, getLowerMostCornerLocation, getTownBlock, getTownBlockOrNull, getTownOrNull, getTownyWorld, getUpperMostCornerLocation, getWorldName, hashCode, hasTown, hasTownBlock, isFullyLoaded, isWilderness, loadChunks, parseWorldCoord, parseWorldCoord, parseWorldCoord, parseWorldCoord, unloadChunks
Methods inherited from class com.palmergames.bukkit.towny.object.Coord
getCellSize, getX, getZ, parseCoord, parseCoord, parseCoord, parseCoord, toCell
-
Field Details
-
border
public boolean[] border
-
-
Constructor Details
-
CellBorder
-
-
Method Details
-
setBorderAt
-
hasBorderAt
-
getBorder
public boolean[] getBorder() -
hasAnyBorder
public boolean hasAnyBorder() -
getBlockX
public int getBlockX() -
getBlockZ
public int getBlockZ() -
runBorderedOnSurface
public void runBorderedOnSurface(int wallHeight, int cornerHeight, Consumer<org.bukkit.Location> locationConsumer) -
toString
- Overrides:
toString
in classWorldCoord
-