| Modifier and Type | Method | Description | 
|---|---|---|
| ItemStack[] | getMatrix() | Get the contents of the crafting matrix. | 
| Recipe | getRecipe() | Get the current recipe formed on the crafting inventory, if any. | 
| ItemStack | getResult() | Check what item is in the result slot of this crafting inventory. | 
| void | setMatrix(ItemStack[] contents) | Replace the contents of the crafting matrix | 
| void | setResult(ItemStack newResult) | Set the item in the result slot of the crafting inventory. | 
addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getName, getSize, getStorageContents, getTitle, getType, getViewers, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContentsItemStack getResult()
ItemStack[] getMatrix()
void setResult(ItemStack newResult)
newResult - The new result item.void setMatrix(ItemStack[] contents)
contents - The new contents.java.lang.IllegalArgumentException - if the length of contents is greater
     than the size of the crafting matrix.Recipe getRecipe()
Copyright © 2018. All rights reserved.