Files
KSpigot/docs/-k-spigot/net.axay.kspigot.inventory/-inventory-g-u-i-page-builder/change-g-u-i.md
bluefireoly 69b2e6cd17 Updated docs
2020-10-16 02:13:42 +02:00

797 B

title
title
changeGUI -

//KSpigot/net.axay.kspigot.inventory/InventoryGUIPageBuilder/changeGUI

changeGUI

[jvm]
Brief description

By pressing this button, the player switches to another InventoryGUI. The transition effect is applied.

Content
fun changeGUI(slots: InventorySlotCompound<T>, itemStack: ItemStack, newGUI: () -> InventoryGUI<*>, newPage: Int?, onChange: (InventoryGUIClickEvent<T>) -> Unit?)