Class BlockCollection

java.lang.Object
us.talabrek.ultimateskyblock.block.BlockCollection

public class BlockCollection extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(org.bukkit.block.Block block)
     
    int
    count(org.bukkit.Material type, byte data)
     
    diff(Collection<org.bukkit.inventory.ItemStack> itemStacks)
    Returns null if all the items are in the BlockCollection, a String describing the missing items if it's not

    Methods inherited from class java.lang.Object

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

    • BlockCollection

      public BlockCollection()
  • Method Details

    • add

      public void add(org.bukkit.block.Block block)
    • diff

      public String diff(Collection<org.bukkit.inventory.ItemStack> itemStacks)
      Returns null 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)