πŸŽ—οΈRyseInventory

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

A hint: You get the RyseInventory object by building a RyseInventory.Builder object.

If you have built a RyseInventory via RyseInventory.Builder, you must also open the inventory to the player. Sounds logical, doesn't it? There are also other methods that are interesting.

Method
Description

deserialize

Used to get a RyseInventory from a Map<String, Object>.

serialize

Serializes the RyseInventory to a Map<String, Object>.

newInstance

Creates a new RyseInventory object where all data will be transferred.

getLoreAnimation

Determines a Lore animation based on the ID.

getNameAnimation

Determines a Name animation based on the ID.

getTitleAnimation

Determines a Title animation based on the ID.

getMaterialAnimator

Determines a Material animation based on the ID.

updatePeriod

Allows to adjust the interval of the scheduler even later.

updateDelay

Allows to adjust the delay of the scheduler even later.

close

Closes the inventory for the player.

getOpenedPlayers

Returns you a List with all UUID's of the players who have the inventory open.

closeAll

Closes the inventory for everyone who has the inventory open.

openAll

Opens the inventory for all players who are on the server.

open

Opens the inventory for a selected player.

getEvent

Returns the event you defined via .listener.

updateTitle

Allows to update the title from the inventory,

size

Calculates the current size of the inventory.

Last updated