Package fr.andross.banitem.items.meta
Class EnchantmentEquals
java.lang.Object
fr.andross.banitem.items.meta.MetaTypeComparator
fr.andross.banitem.items.meta.EnchantmentEquals
A simple meta comparator to compare the enchantments
- Version:
- 3.1.1
- Author:
- Andross
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(org.bukkit.inventory.ItemStack itemStack, org.bukkit.inventory.meta.ItemMeta itemMeta) Methods inherited from class fr.andross.banitem.items.meta.MetaTypeComparator
getObject, isValid, setValid
-
Constructor Details
-
EnchantmentEquals
-
-
Method Details
-
matches
public boolean matches(@NotNull org.bukkit.inventory.ItemStack itemStack, @Nullable org.bukkit.inventory.meta.ItemMeta itemMeta) - Specified by:
matches
in classMetaTypeComparator
-