Class ItemMatcher

java.lang.Object
de.themoep.utils.ItemMatcher

public class ItemMatcher
extends Object
  • Constructor Details

  • Method Details

    • getMatching

      public ItemMatcher.MatchDefinition getMatching​(org.bukkit.inventory.ItemStack item)
      Get the matching definition
      Parameters:
      item - The item to match against
      Returns:
      The matching definition or null if none match. The default one will have a "null" name!