Interface AutoMinerRegion


public interface AutoMinerRegion
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Amount of blocks that will be added to player per reward period
    Command rewards to execute when player is automining in this region
    org.codemc.worldguardwrapper.region.IWrappedRegion
    Region where autominer is set
    int
    Period after which player gets rewards and blocks broken
    org.bukkit.World
    World where region is based
  • Method Details

    • getWorld

      org.bukkit.World getWorld()
      World where region is based
      Returns:
      World}
    • getRegion

      org.codemc.worldguardwrapper.region.IWrappedRegion getRegion()
      Region where autominer is set
      Returns:
      IWrappedRegion}
    • getCommands

      Collection<String> getCommands()
      Command rewards to execute when player is automining in this region
      Returns:
      list of command rewards
    • getRewardPeriod

      int getRewardPeriod()
      Period after which player gets rewards and blocks broken
      Returns:
      reward period in seconds
    • getBlocksBroken

      int getBlocksBroken()
      Amount of blocks that will be added to player per reward period
      Returns:
      amount of blocks broken to add