Class MineCoalConfiguration
java.lang.Object
net.swofty.region.SkyBlockMiningConfiguration
net.swofty.region.mining.configurations.MineCoalConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from class net.swofty.region.SkyBlockMiningConfiguration
SkyBlockMiningConfiguration.MiningTask, SkyBlockMiningConfiguration.RegenerationConfig
-
Field Summary
Fields inherited from class net.swofty.region.SkyBlockMiningConfiguration
activeMiningTasks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<net.minestom.server.item.Material>
long
handleStageOne
(SkyBlockMiningConfiguration.MiningTask task, net.minestom.server.coordinate.Pos brokenBlock) handleStageTwo
(SkyBlockMiningConfiguration.MiningTask task, net.minestom.server.coordinate.Pos brokenBlock) Methods inherited from class net.swofty.region.SkyBlockMiningConfiguration
addToQueue, getInitialBlockFromPos, getRandomBlock, removeExistingTask, startRepeater
-
Constructor Details
-
MineCoalConfiguration
public MineCoalConfiguration()
-
-
Method Details
-
handleStageOne
public SkyBlockMiningConfiguration.MiningTask handleStageOne(SkyBlockMiningConfiguration.MiningTask task, net.minestom.server.coordinate.Pos brokenBlock) - Specified by:
handleStageOne
in classSkyBlockMiningConfiguration
-
handleStageTwo
public SkyBlockMiningConfiguration.MiningTask handleStageTwo(SkyBlockMiningConfiguration.MiningTask task, net.minestom.server.coordinate.Pos brokenBlock) - Specified by:
handleStageTwo
in classSkyBlockMiningConfiguration
-
getMineableBlocks
- Specified by:
getMineableBlocks
in classSkyBlockMiningConfiguration
-
getRegenerationTime
public long getRegenerationTime()- Specified by:
getRegenerationTime
in classSkyBlockMiningConfiguration
-