πŸŽ—οΈInventoryManager

Here you will find all the methods that are in the InventoryManager class.

Our manager stores important things temporarily. It also provides you with opportunities to obtain inventories, for example.

Method overview

Method
Description

register

Offers you the possibility to cache items in a list. It is important that the item has an ID.

getItemById

You can get the item by this method. You only need the ID.

getAllItemsById

If multiple items have the same ID, they will be returned as a list.

getInventory

You can get an inventory by ID or by player UUID.

getOpenedPlayers

Gives you all the UUID's of the players who currently have the inventory open.

getLastInventory

Returns the last inventory the player had open.

getContents

You get the InventoryContents by the UUID.

invoke

Needed only in the onEnable to make important functions of the RyseInventory API go.

Last updated