mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
@@ -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
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user