Interface AgingItemMatcher

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AgingItemMatcher
Owner-scoped validation for items whose identity is supplied by an addon. Implementations must validate their persistent profile and must not mutate the item. A display name alone is not an identity. Exceptions reject the item.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(org.bukkit.inventory.ItemStack item)
     
  • Method Details

    • matches

      boolean matches(org.bukkit.inventory.ItemStack item)