Class BlockCollection
java.lang.Object
us.talabrek.ultimateskyblock.block.BlockCollection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(org.bukkit.block.Block block) int
count
(org.bukkit.Material type, byte data) diff
(Collection<org.bukkit.inventory.ItemStack> itemStacks) Returnsnull
if all the items are in the BlockCollection, a String describing the missing items if it's not
-
Constructor Details
-
BlockCollection
public BlockCollection()
-
-
Method Details
-
add
public void add(org.bukkit.block.Block block) -
diff
Returnsnull
if all the items are in the BlockCollection, a String describing the missing items if it's not- Parameters:
itemStacks
-- Returns:
-
count
public int count(org.bukkit.Material type, byte data)
-