Paged Guide Page
Represents a GuidePage with multiple pages When building your PagedGui add a page change handler using saveCurrentPage to remember page changes After constructing your PagedGui, use loadCurrentPage to set the correct page for the player
For example:
override fun getGui(player: Player): Gui {
val gui = PagedGui.items()
.setStructure(...)
...
.addPageChangeHandler { _, newPage -> saveCurrentPage(player, newPage) }
return gui.build().apply { loadCurrentPage(player, this) }
}Content copied to clipboard
Inheritors
Properties
Link copied to clipboard
The item representing this page. This will be used in any io.github.pylonmc.pylon.core.guide.button.PageButtons that point to this page.