public class InventoryConstructors
public Inventory()Methods
Inventory fromNbtList(NbtList)InventoryItem[] getItems()Returns the items value.void setItems(InventoryItem[])Sets the items value.NbtList toNbtList()public static Inventory fromNbtList(NbtList nbt)getItems()
lombokSource
public InventoryItem[] getItems()public void setItems(InventoryItem[] items)Sets the items value.
| Parameters | ||
|---|---|---|
items | InventoryItem[] | |
Generated by Lombok's @Setter for the field items
public NbtList toNbtList()| Returns | ||
|---|---|---|
NbtList | ||