asMenu(org.spongepowered.plugin.PluginContainer container,
ServerPlayer openForTarget,
int rows,
Component title)
Getting the contents of the backpack in the menu with the specified number of lines.
All changes made will be automatically saved if the backpack data refers to the player's data in the CommandPack plugin.
The menu is cleared after closing.
Clearing when closed does not affect the backpack data.
Getting the contents of the backpack in the menu with the specified number of lines.
All changes made will be automatically saved if the backpack data refers to the player's data in the CommandPack plugin.
The menu is cleared after closing.
Clearing when closed does not affect the backpack data.