Package org.kingdoms.managers
Class ItemMatcher
java.lang.Object
org.kingdoms.managers.ItemMatcher
- Direct Known Subclasses:
CustomResourcePointDescription
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(org.bukkit.inventory.ItemStack item) booleanmatches(org.bukkit.inventory.ItemStack item, org.bukkit.inventory.meta.ItemMeta meta, LazySupplier<NBTWrappers.NBTTagCompound> nbt) booleanmatches(org.bukkit.inventory.ItemStack item, LazySupplier<NBTWrappers.NBTTagCompound> nbt) booleanmatchesCustomModel(org.bukkit.inventory.meta.ItemMeta meta) booleanmatchesEnchants(Map<org.bukkit.enchantments.Enchantment, Integer> enchants) booleanmatchesLore(org.bukkit.inventory.meta.ItemMeta meta) booleanmatchesMaterial(org.bukkit.inventory.ItemStack item) booleanmatchesName(org.bukkit.inventory.meta.ItemMeta meta) booleanbooleanneedsNBT()
-
Constructor Details
-
ItemMatcher
-
-
Method Details
-
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
-
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
-