Added setContents() to Inventory.
This commit is contained in:
parent
3fd9f09e01
commit
d84827914b
@ -52,6 +52,13 @@ public interface Inventory {
|
|||||||
*/
|
*/
|
||||||
public ItemStack[] getContents();
|
public ItemStack[] getContents();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the inventory's contents
|
||||||
|
*
|
||||||
|
* @return All the ItemStacks from all slots
|
||||||
|
*/
|
||||||
|
public void setContents(ItemStack[] items);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if the inventory contains any ItemStacks with the given materialId
|
* Check if the inventory contains any ItemStacks with the given materialId
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user