mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Added setContents() to Inventory.
This commit is contained in:
parent
3fd9f09e01
commit
d84827914b
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue