Interface MBlock


public interface MBlock
  • Method Details

    • getMineType

      String getMineType()
      Returns:
      lowercase String of the type of mine
    • getMaterialList

      List<org.bukkit.Material> getMaterialList()
      Returns:
      all the possible Material that the mine could become
    • getRandomMaterial

      org.bukkit.Material getRandomMaterial()
      Returns:
      a random material from getMaterialList()
    • getLastResetTimeMillis

      Long getLastResetTimeMillis()
      Returns:
      last time the mine was reset
    • getNextResetTimeMillis

      Long getNextResetTimeMillis()
      Returns:
      next time the mine will reset
    • updateLastResetTimeMillis

      void updateLastResetTimeMillis()
      updates the last reset time to current millis
    • updateNextResetTimeMillis

      void updateNextResetTimeMillis()
      upgrades the next reset time according to configuration options