Class PlotBlockData
java.lang.Object
com.palmergames.bukkit.towny.regen.PlotBlockData
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintintintgetSize()intintgetX()intgetZ()voidinitialize(List<org.bukkit.ChunkSnapshot> snapshots) voidfills BlockListRestored with zero's to indicate no blocks have been restored yetbooleanReverts an area to the stored image.voidsetBlockList(@NotNull List<String> blockList) fills the BlockListvoidsetHeight(int height) voidsetMinHeight(int minHeight) voidsetSize(int size) voidsetVersion(int version) voidsetX(int x) voidsetZ(int z) 
- 
Constructor Details- 
PlotBlockData
 
- 
- 
Method Details- 
initialize
- 
restoreNextBlockpublic boolean restoreNextBlock()Reverts an area to the stored image.- Returns:
- true if there are more blocks to check.
 
- 
getXpublic int getX()
- 
setXpublic void setX(int x) 
- 
getZpublic int getZ()
- 
setZpublic void setZ(int z) 
- 
getSizepublic int getSize()
- 
setSizepublic void setSize(int size) 
- 
getHeightpublic int getHeight()
- 
setHeightpublic void setHeight(int height) 
- 
getMinHeightpublic int getMinHeight()
- 
setMinHeightpublic void setMinHeight(int minHeight) 
- 
getWorldName
- 
getVersionpublic int getVersion()- Returns:
- the version
 
- 
setVersionpublic void setVersion(int version) - Parameters:
- version- the version to set
 
- 
getBlockList- Returns:
- the blockList
 
- 
setBlockListfills the BlockList- Parameters:
- blockList- BlockList (List<String>)
 
- 
resetBlockListRestoredpublic void resetBlockListRestored()fills BlockListRestored with zero's to indicate no blocks have been restored yet
- 
getWorldCoord
 
-