mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Added setContents() to Inventory.
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
parent
650e0749d1
commit
ea2c6665c0
@ -52,6 +52,13 @@ public interface Inventory {
|
||||
*/
|
||||
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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user