Package-level declarations

Types

Link copied to clipboard
interface GuidePage : Keyed

Represents a page in the PylonGuide.

Link copied to clipboard

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

Link copied to clipboard
abstract class SearchPage(key: NamespacedKey, val material: Material) : SimpleStaticGuidePage

A page that allows a collection of things (specified by getItemNamePairs to be searched.

Link copied to clipboard
open class SimpleDynamicGuidePage(key: NamespacedKey, val material: Material, val buttonSupplier: Supplier<List<Item>>) : PagedGuidePage

A simple page that just displays an arbitrary number of items with a header. For example, the research page just displays all the researches for a given addon, with next/previous page buttons and a header.

Link copied to clipboard
open class SimpleStaticGuidePage @JvmOverloads constructor(key: NamespacedKey, val material: Material, val buttons: MutableList<Item> = mutableListOf()) : SimpleDynamicGuidePage

A guide page which has a fixed set of buttons. Do not use this if the buttons on the page need to change at runtime.