Class SimpleInfoPage

  • All Implemented Interfaces:
    io.github.pylonmc.rebar.guide.pages.base.GuidePage , io.github.pylonmc.rebar.guide.pages.base.PagedGuidePage , net.kyori.adventure.key.Keyed , org.bukkit.Keyed

    
    public class SimpleInfoPage
    extends SimpleStaticGuidePage
                        

    A simple guide page used to display additional info about an item or fluid.

    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleInfoPage()
    • Method Summary

      Modifier and Type Method Description
      final List<Item> getButtons() The list of buttons to be displayed on this page.
      final Supplier<List<Item>> getButtonSupplier() Supplies the buttons to be displayed on this page.
      Component getTitle() The title of this page, displayed at the top of the GUI when the page is open.
      PagedGui.Builder<Item> getHeader(Player player, List<Item> buttons) Returns a page containing the header (the top row of the page) and a section for the items to go.
      • Methods inherited from class io.github.pylonmc.rebar.guide.pages.base.SimpleDynamicGuidePage

        getGui, getKey, getKey
      • Methods inherited from class io.github.pylonmc.rebar.guide.pages.base.SimpleStaticGuidePage

        addButton, addFluid, addItem, addPage, addPage, addPage, addResearch
      • Methods inherited from class net.kyori.adventure.key.Keyed

        key
      • Methods inherited from class io.github.pylonmc.rebar.guide.pages.base.PagedGuidePage

        loadCurrentPage, saveCurrentPage
      • Methods inherited from class io.github.pylonmc.rebar.guide.pages.base.GuidePage

        open, shouldDisplay
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait