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, LazySupplier<NBTWrappers.NBTTagCompound> nbt)
    • matches

      public boolean matches(org.bukkit.inventory.ItemStack item, org.bukkit.inventory.meta.ItemMeta meta, LazySupplier<NBTWrappers.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(NBTWrappers.NBTTagCompound nbt)