Interface ItemChecker


public interface ItemChecker
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    checkItemStack(org.bukkit.inventory.ItemStack itemStack)
    Checks if an item is blacklisted/whitelisted.
    Gets the name of the item checker.
  • Method Details

    • getName

      String getName()
      Gets the name of the item checker.
      Returns:
      the name of the item checker.
    • checkItemStack

      boolean checkItemStack(org.bukkit.inventory.ItemStack itemStack)
      Checks if an item is blacklisted/whitelisted.
      Parameters:
      itemStack - the item to check.
      Returns:
      true if the item is blacklisted/whitelisted, false otherwise.