Game API Inventory

Inventory
Class used to pass entity id information.

public int playerId
Used to assign entity id.

public ItemStack[] toolbelt;
Array of items in players toolbelt.

public ItemStack[] bag;
Array of items in players backpack.

public Inventory
Constructor.

public Inventory(int nPlayerId, ItemStack[] nToolbelt, ItemStack[] nBag)
Constructor, with parameters.