Class ResearchItemsPage
-
- 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 final class ResearchItemsPage extends SimpleStaticGuidePage
Shows the items that a research unlocks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classResearchItemsPage.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Componenttitleprivate final List<Item>buttonsprivate final Supplier<List<Item>>buttonSupplierprivate final NamespacedKeykeypublic final static ResearchItemsPage.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description ResearchItemsPage(Research research)
-
Method Summary
Modifier and Type Method Description ComponentgetTitle()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.SimpleStaticGuidePage
addButton, addFluid, addItem, addPage, addPage, addPage, addResearch, getButtons -
Methods inherited from class io.github.pylonmc.rebar.guide.pages.base.SimpleDynamicGuidePage
getButtonSupplier, getGui, getKey, getKey -
Methods inherited from class org.bukkit.Keyed
key -
Methods inherited from class io.github.pylonmc.rebar.guide.pages.base.PagedGuidePage
loadCurrentPage, resetCurrentPage, 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
-
-
Constructor Detail
-
ResearchItemsPage
ResearchItemsPage(Research research)
-
-
-
-