Class SkyBlockMiningConfiguration

java.lang.Object
net.swofty.region.SkyBlockMiningConfiguration
Direct Known Subclasses:
MineCoalConfiguration

public abstract class SkyBlockMiningConfiguration extends Object
  • Field Details

  • Constructor Details

    • SkyBlockMiningConfiguration

      public SkyBlockMiningConfiguration()
  • Method Details

    • handleStageOne

      public abstract SkyBlockMiningConfiguration.MiningTask handleStageOne(SkyBlockMiningConfiguration.MiningTask task, net.minestom.server.coordinate.Pos brokenBlock)
    • handleStageTwo

      public abstract SkyBlockMiningConfiguration.MiningTask handleStageTwo(SkyBlockMiningConfiguration.MiningTask task, net.minestom.server.coordinate.Pos brokenBlock)
    • getMineableBlocks

      public abstract List<net.minestom.server.item.Material> getMineableBlocks()
    • getRegenerationTime

      public abstract long getRegenerationTime()
    • addToQueue

      public void addToQueue(SkyBlockPlayer player, net.minestom.server.coordinate.Pos block, net.minestom.server.instance.SharedInstance instance)
    • getInitialBlockFromPos

      public Optional<net.minestom.server.instance.block.Block> getInitialBlockFromPos(net.minestom.server.coordinate.Pos block)
    • removeExistingTask

      public void removeExistingTask(net.minestom.server.coordinate.Pos block)
    • startRepeater

      public static void startRepeater(net.minestom.server.timer.Scheduler scheduler)
    • getRandomBlock

      public static net.minestom.server.instance.block.Block getRandomBlock(SkyBlockMiningConfiguration.RegenerationConfig... regenerationConfigs)