Interface BlockScore


public interface BlockScore
How much of your score is calculated based on a specific blockId.
Since:
v2.1.2
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    The possible states of a BlockScore.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.inventory.ItemStack
    The type of block.
    int
    The number of blocks of this type found on the island.
    User displayable name of the block.
    double
    The score contribution from this block.
    The current state of this block.
  • Method Details

    • getBlock

      org.bukkit.inventory.ItemStack getBlock()
      The type of block.
      Returns:
      The type of block.
      Since:
      v2.1.2
    • getCount

      int getCount()
      The number of blocks of this type found on the island.
      Returns:
      number of blocks of this type found on the island.
      Since:
      v2.1.2
    • getScore

      double getScore()
      The score contribution from this block.
      Returns:
      score contribution from this block.
      Since:
      v2.1.2
    • getState

      BlockScore.State getState()
      The current state of this block.
      Returns:
      The current state of this block.
      Since:
      v2.1.2
    • getName

      String getName()
      User displayable name of the block.
      I.e. "Diamond Block".
      Returns:
      User displayable name of the block.
      Since:
      v2.1.2