Interface PlayerInventoryMatcher
- All Known Implementing Classes:
PlayerInventoryMatcher.Aggregate,PlayerInventoryMatcher.Hand,PlayerInventoryMatcher.Items,PlayerInventoryMatcher.MappedSlots,PlayerInventoryMatcher.Random
public interface PlayerInventoryMatcher
Used for matching items in a player's inventory using various methods.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classstatic final classstatic final classstatic final class -
Method Summary
Modifier and TypeMethodDescriptiongetMatchedItems(org.bukkit.inventory.PlayerInventory inventory, PlayerInventoryMatcher matcher) voidmatch(org.bukkit.inventory.PlayerInventory inventory, Map<Integer, org.bukkit.inventory.ItemStack> matchedItems) static PlayerInventoryMatcherparse(ConfigSection section)
-
Method Details
-
match
-
getMatchedItems
static Map<Integer,org.bukkit.inventory.ItemStack> getMatchedItems(org.bukkit.inventory.PlayerInventory inventory, PlayerInventoryMatcher matcher) -
parse
-