Class WorkbenchInventoryMock
java.lang.Object
org.mockbukkit.mockbukkit.inventory.InventoryMock
org.mockbukkit.mockbukkit.inventory.WorkbenchInventoryMock
- All Implemented Interfaces:
Iterable<ItemStack>,CraftingInventory,Inventory
Mock implementation of a
CraftingInventory.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWorkbenchInventoryMock(@Nullable InventoryHolder holder) Constructs a newWorkbenchInventoryMockfor the given holder. -
Method Summary
Methods inherited from class org.mockbukkit.mockbukkit.inventory.InventoryMock
addItem, addItem, addViewer, addViewers, addViewers, all, all, assertContainsAny, assertContainsAtLeast, assertTrueForAll, assertTrueForNonNulls, assertTrueForSome, clear, clear, close, contains, contains, contains, contains, containsAtLeast, equals, first, first, firstEmpty, getContents, getCustomTitle, getHolder, getHolder, getItem, getLocation, getMaxStackSize, getNumberOfItems, getSize, getSnapshot, getStorageContents, getTitle, getType, getViewers, hashCode, isEmpty, isIdentical, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, removeViewer, setContents, setCustomTitle, setItem, setMaxStackSize, setStorageContents, stream, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bukkit.inventory.Inventory
addItem, all, all, clear, clear, close, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize, setStorageContentsMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
WorkbenchInventoryMock
Constructs a newWorkbenchInventoryMockfor the given holder.- Parameters:
holder- The holder of the inventory.
-
-
Method Details
-
getResult
- Specified by:
getResultin interfaceCraftingInventory
-
getMatrix
- Specified by:
getMatrixin interfaceCraftingInventory
-
setResult
- Specified by:
setResultin interfaceCraftingInventory
-
setMatrix
- Specified by:
setMatrixin interfaceCraftingInventory
-
getRecipe
- Specified by:
getRecipein interfaceCraftingInventory
-