Class MetaTypeComparator

java.lang.Object
fr.andross.banitem.items.meta.MetaTypeComparator
Direct Known Subclasses:
AdvancedEnchantments, AttributeContains, DisplayNameContains, DisplayNameEquals, Durability, EnchantmentContains, EnchantmentEquals, ItemsAdder, LoreContains, LoreContainsRegex, LoreEquals, LoreLineContains, ModeldataEquals, NBTAPI, Potion, Unbreakable

public abstract class MetaTypeComparator extends Object
An abstract meta type comparator
Version:
3.1
Author:
Andross
  • Constructor Details

    • MetaTypeComparator

      public MetaTypeComparator(@NotNull Object object)
  • Method Details

    • getObject

      @NotNull public Object getObject()
    • isValid

      public boolean isValid()
    • setValid

      public void setValid(boolean valid)
    • matches

      public abstract boolean matches(@NotNull org.bukkit.inventory.ItemStack itemStack, @Nullable org.bukkit.inventory.meta.ItemMeta itemMeta)