Package net.glowstone.inventory.crafting
Class ItemMatcher
java.lang.Object
net.glowstone.inventory.crafting.ItemMatcher
- Direct Known Subclasses:
GlowArmorDyeMatcher,GlowBannerCopyMatcher,GlowBannerMatcher,GlowBookCopyMatcher,GlowChargeFadeMatcher,GlowChargeMatcher,GlowFireworkMatcher,GlowMapCopyMatcher,GlowMapZoomMatcher,GlowRepairMatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStackgetResult(org.bukkit.inventory.ItemStack[] matrix) Get the result for a given crafting matrix.
-
Constructor Details
-
ItemMatcher
public ItemMatcher()
-
-
Method Details
-
getResult
public org.bukkit.inventory.ItemStack getResult(org.bukkit.inventory.ItemStack[] matrix) Get the result for a given crafting matrix.- Parameters:
matrix- a square matrix of items- Returns:
- Result of recipe
-