Class ItemMatcher

java.lang.Object
org.kingdoms.managers.ItemMatcher
Direct Known Subclasses:
CustomResourcePointDescription

public class ItemMatcher extends Object
  • Constructor Details

  • Method Details

    • getSection

      public ConfigSection getSection()
    • matchesMaterial

      public boolean matchesMaterial(org.bukkit.inventory.ItemStack item)
    • matches

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

      public boolean matches(org.bukkit.inventory.ItemStack item, org.kingdoms.utils.cache.single.CachedSupplier<org.kingdoms.nbt.tag.NBTTagCompound> nbt)
    • matches

      public boolean matches(org.bukkit.inventory.ItemStack item, org.bukkit.inventory.meta.ItemMeta meta, org.kingdoms.utils.cache.single.CachedSupplier<org.kingdoms.nbt.tag.NBTTagCompound> nbt)
    • matchesEnchants

      public boolean matchesEnchants(Map<org.bukkit.enchantments.Enchantment,Integer> enchants)
    • needsNBT

      public boolean needsNBT()
    • matchesName

      public boolean matchesName(org.bukkit.inventory.meta.ItemMeta meta)
    • matchesLore

      public boolean matchesLore(org.bukkit.inventory.meta.ItemMeta meta)
    • matchesCustomModel

      public boolean matchesCustomModel(org.bukkit.inventory.meta.ItemMeta meta)
    • matchesNBT

      public boolean matchesNBT(org.kingdoms.nbt.tag.NBTTagCompound nbt)