Uses of Class
com.palmergames.bukkit.towny.regen.PlotBlockData
Package
Description
-
Uses of PlotBlockData in com.palmergames.bukkit.towny.db
Modifier and TypeMethodDescriptionTownyDatabaseHandler.loadPlotData
(TownBlock townBlock) Load PlotBlockData for regen at unclaim First attempts to load a .zip file containing the data file.TownyDatabaseHandler.loadPlotData
(String worldName, int x, int z) Load PlotBlockDataabstract PlotBlockData
TownyDataSource.loadPlotData
(TownBlock townBlock) abstract PlotBlockData
TownyDataSource.loadPlotData
(String worldName, int x, int z) Modifier and TypeMethodDescriptionvoid
TownyDatabaseHandler.deletePlotData
(PlotBlockData plotChunk) abstract void
TownyDataSource.deletePlotData
(PlotBlockData plotChunk) boolean
TownyDatabaseHandler.savePlotData
(PlotBlockData plotChunk) Save PlotBlockDataabstract boolean
TownyDataSource.savePlotData
(PlotBlockData plotChunk) -
Uses of PlotBlockData in com.palmergames.bukkit.towny.regen
Modifier and TypeMethodDescriptionstatic @Nullable PlotBlockData
TownyRegenAPI.getPlotChunk
(TownBlock townBlock) Gets a Plot Chunk from the regeneration mapstatic PlotBlockData
TownyRegenAPI.getPlotChunkSnapshot
(TownBlock townBlock) Loads a Plot Chunk snapshot from the data sourceModifier and TypeMethodDescriptionstatic CompletableFuture
<PlotBlockData> TownyRegenAPI.createPlotSnapshot
(@NotNull TownBlock townBlock) static Collection
<PlotBlockData> TownyRegenAPI.getActivePlotBlockDatas()
static Map
<String, PlotBlockData> TownyRegenAPI.getPlotChunks()
Modifier and TypeMethodDescriptionstatic void
TownyRegenAPI.addPlotChunkSnapshot
(PlotBlockData plotChunk) Saves a Plot Chunk snapshot to the datasourcestatic void
TownyRegenAPI.addToActiveRegeneration
(PlotBlockData plotChunk) Adds a Plot Chunk to the regeneration mapstatic void
TownyRegenAPI.finishPlotBlockData
(PlotBlockData plotChunk) Called when a PlotBlockData's revert-on-unclaim has been finished.static void
TownyRegenAPI.removeFromActiveRegeneration
(PlotBlockData plotChunk) Removes a Plot Chunk from the regeneration map -
Uses of PlotBlockData in com.palmergames.util
Modifier and TypeMethodDescriptionstatic void
FileMgmt.savePlotData
(PlotBlockData data, File file, String path) Method to save a PlotBlockData object to disk.