change G U I
fun changeGUI(slots: InventorySlotCompound<T>, icon: ItemStack, newGUI: () -> GUI<*>, newPage: Int? = null, onChange: (GUIClickEvent<T>) -> Unit? = null)
Content copied to clipboard
By pressing this button, the player switches to another GUI. The transition effect is applied.