Package studio.magemonkey.mirage
Class Data
java.lang.Object
studio.magemonkey.mirage.Data
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic booleanstatic booleanstatic boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRegenerationEntry(org.bukkit.block.Block block, Map.Entry<BlockType, DataEntry> entry, boolean runTask) voidcheckChunkRegeneration(org.bukkit.Chunk chunk) booleanisRegenerating(org.bukkit.block.Block block) voidload(org.bukkit.configuration.ConfigurationSection section) voidmatch(org.bukkit.block.Block block) match(org.bukkit.event.block.BlockBreakEvent event) voidvoidvoidvoid
-
Field Details
-
restrictCropGrowth
public static boolean restrictCropGrowth -
restrictMelonGrowth
public static boolean restrictMelonGrowth -
restrictTurtleEgg
public static boolean restrictTurtleEgg -
restrictBlockGrowth
public static boolean restrictBlockGrowth
-
-
Constructor Details
-
Data
public Data()
-
-
Method Details
-
load
public void load(org.bukkit.configuration.ConfigurationSection section) -
match
-
match
-
match
-
addRegenerationEntry
public RegenerationEntry addRegenerationEntry(org.bukkit.block.Block block, Map.Entry<BlockType, DataEntry> entry, boolean runTask) -
isRegenerating
public boolean isRegenerating(org.bukkit.block.Block block) -
loadRegenerationEntries
- Throws:
IOException
-
saveRegenerationEntries
- Throws:
IOException
-
startRegenerationTask
-
startRegenerationWatchdog
public void startRegenerationWatchdog() -
stopRegenerationWatchdog
public void stopRegenerationWatchdog() -
checkChunkRegeneration
public void checkChunkRegeneration(org.bukkit.Chunk chunk)
-