Class PlotBlockData

java.lang.Object
com.palmergames.bukkit.towny.regen.PlotBlockData

public class PlotBlockData extends Object
  • Constructor Details

    • PlotBlockData

      public PlotBlockData(TownBlock townBlock)
  • Method Details

    • initialize

      public void initialize(List<org.bukkit.ChunkSnapshot> snapshots)
    • restoreNextBlock

      public boolean restoreNextBlock()
      Reverts an area to the stored image.
      Returns:
      true if there are more blocks to check.
    • getX

      public int getX()
    • setX

      public void setX(int x)
    • getZ

      public int getZ()
    • setZ

      public void setZ(int z)
    • getSize

      public int getSize()
    • setSize

      public void setSize(int size)
    • getHeight

      public int getHeight()
    • setHeight

      public void setHeight(int height)
    • getMinHeight

      public int getMinHeight()
    • setMinHeight

      public void setMinHeight(int minHeight)
    • getWorldName

      public String getWorldName()
    • getVersion

      public int getVersion()
      Returns:
      the version
    • setVersion

      public void setVersion(int version)
      Parameters:
      version - the version to set
    • getBlockList

      public List<String> getBlockList()
      Returns:
      the blockList
    • setBlockList

      public void setBlockList(@NotNull @NotNull List<String> blockList)
      fills the BlockList
      Parameters:
      blockList - BlockList (List<String>)
    • resetBlockListRestored

      public void resetBlockListRestored()
      fills BlockListRestored with zero's to indicate no blocks have been restored yet
    • getWorldCoord

      public WorldCoord getWorldCoord()