Package me.hsgamer.hscore.minecraft.item
Interface ItemComparator<T>
- Type Parameters:
T
- the type of the item
- All Known Subinterfaces:
ItemMetaComparator
- All Known Implementing Classes:
AmountModifier
,DurabilityModifier
,EnchantmentModifier
,ItemFlagModifier
,LoreModifier
,MaterialModifier
,NameModifier
,PotionEffectModifier
public interface ItemComparator<T>
An extension to
ItemModifier
to compare the modifier of an item-
Method Summary
-
Method Details
-
compare
Compare the modifier of an item- Parameters:
item
- the itemuuid
- the unique idstringReplacer
- the string replacer- Returns:
- true if it matches, otherwise false
-
compare
Compare the modifier of an item- Parameters:
item
- the itemuuid
- the unique id- Returns:
- true if it matches, otherwise false
-
compare
Compare the modifier of an item- Parameters:
item
- the item- Returns:
- true if it matches, otherwise false
-