Class BlockScoreImpl

java.lang.Object
us.talabrek.ultimateskyblock.island.level.BlockScoreImpl
All Implemented Interfaces:
us.talabrek.ultimateskyblock.api.model.BlockScore

public class BlockScoreImpl extends Object implements us.talabrek.ultimateskyblock.api.model.BlockScore
  • Nested Class Summary

    Nested classes/interfaces inherited from interface us.talabrek.ultimateskyblock.api.model.BlockScore

    us.talabrek.ultimateskyblock.api.model.BlockScore.State
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlockScoreImpl(org.bukkit.inventory.ItemStack block, int count, double score, us.talabrek.ultimateskyblock.api.model.BlockScore.State state)
     
    BlockScoreImpl(org.bukkit.inventory.ItemStack block, int count, double score, us.talabrek.ultimateskyblock.api.model.BlockScore.State state, String name)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.inventory.ItemStack
     
    int
     
     
    double
     
    us.talabrek.ultimateskyblock.api.model.BlockScore.State
     
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BlockScoreImpl

      public BlockScoreImpl(org.bukkit.inventory.ItemStack block, int count, double score, us.talabrek.ultimateskyblock.api.model.BlockScore.State state)
    • BlockScoreImpl

      public BlockScoreImpl(org.bukkit.inventory.ItemStack block, int count, double score, us.talabrek.ultimateskyblock.api.model.BlockScore.State state, String name)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getBlock

      public org.bukkit.inventory.ItemStack getBlock()
      Specified by:
      getBlock in interface us.talabrek.ultimateskyblock.api.model.BlockScore
    • getCount

      public int getCount()
      Specified by:
      getCount in interface us.talabrek.ultimateskyblock.api.model.BlockScore
    • getScore

      public double getScore()
      Specified by:
      getScore in interface us.talabrek.ultimateskyblock.api.model.BlockScore
    • getState

      public us.talabrek.ultimateskyblock.api.model.BlockScore.State getState()
      Specified by:
      getState in interface us.talabrek.ultimateskyblock.api.model.BlockScore
    • getName

      public String getName()
      Specified by:
      getName in interface us.talabrek.ultimateskyblock.api.model.BlockScore