classinternallombokSource
public class Inventory

Constructors

public Inventory()

Methods

public static Inventory fromNbtList(NbtList nbt)
Parameters
nbtNbtList
Returns
Inventory
public InventoryItem[] getItems()

Returns the items value.

Returns
InventoryItem[]

Generated by Lombok's @Getter for the field items

public void setItems(InventoryItem[] items)

Sets the items value.

Parameters
itemsInventoryItem[]

Generated by Lombok's @Setter for the field items

public NbtList toNbtList()
Returns
NbtList

Nested types