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
ConstructorDescriptionBlockScoreImpl
(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
-
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
-
getBlock
public org.bukkit.inventory.ItemStack getBlock()- Specified by:
getBlock
in interfaceus.talabrek.ultimateskyblock.api.model.BlockScore
-
getCount
public int getCount()- Specified by:
getCount
in interfaceus.talabrek.ultimateskyblock.api.model.BlockScore
-
getScore
public double getScore()- Specified by:
getScore
in interfaceus.talabrek.ultimateskyblock.api.model.BlockScore
-
getState
public us.talabrek.ultimateskyblock.api.model.BlockScore.State getState()- Specified by:
getState
in interfaceus.talabrek.ultimateskyblock.api.model.BlockScore
-
getName
- Specified by:
getName
in interfaceus.talabrek.ultimateskyblock.api.model.BlockScore
-