content
The content of the
AbstractPagedGui
.C
- The content type.Cloneable
, Gui.Builder<PagedGui<C>,PagedGui.Builder<C>>
, PagedGui.Builder<C>
AbstractPagedGui<C>
AbstractPagedGui
.
This class should only be used directly if you're creating a custom AbstractPagedGui.AbstractBuilder
implementation.
Otherwise, use the static builder functions from PagedGui
, such as
PagedGui.items()
, PagedGui.guis()
or PagedGui.inventories()
to obtain a builder instance.
Gui.Builder.Normal
AbstractPagedGui
.protected List<BiConsumer<Integer,Integer>>
AbstractPagedGui
.background, frozen, ignoreObscuredInventorySlots, modifiers, structure
@NotNull PagedGui.Builder<C>
addContent(C content)
PagedGui
.@NotNull PagedGui.Builder<C>
addPageChangeHandler(@NotNull BiConsumer<Integer,Integer> handler)
PagedGui
.protected void
applyModifiers(@NotNull PagedGui<C> gui)
AbstractGui.AbstractBuilder.modifiers
to the given AbstractGui
.clone()
@NotNull PagedGui.Builder<C>
setContent(@NotNull List<@NotNull C> content)
PagedGui
for all pages.@NotNull PagedGui.Builder<C>
setPageChangeHandlers(@NotNull List<@NotNull BiConsumer<Integer,Integer>> handlers)
PagedGui
.addIngredient, addIngredient, addIngredient, addIngredient, addIngredient, addIngredient, addIngredient, addIngredient, addIngredientElementSupplier, addModifier, setBackground, setBackground, setFrozen, setIgnoreObscuredInventorySlots, setModifiers, setStructure, setStructure, setStructure
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addIngredient, addIngredient, addIngredient, addIngredient, addIngredient, addIngredient, addIngredient, addIngredient, addIngredientElementSupplier, addModifier, build, setBackground, setBackground, setFrozen, setIgnoreObscuredInventorySlots, setModifiers, setStructure, setStructure, setStructure
AbstractPagedGui
.AbstractPagedGui
.PagedGui.Builder
PagedGui
for all pages.setContent
in interface PagedGui.Builder<C>
content
- The content to set.Gui Builder
.PagedGui.Builder
PagedGui
.addContent
in interface PagedGui.Builder<C>
content
- The content to add.Gui Builder
.PagedGui.Builder
PagedGui
.setPageChangeHandlers
in interface PagedGui.Builder<C>
handlers
- The page change handlers to set.Gui Builder
.PagedGui.Builder
PagedGui
.addPageChangeHandler
in interface PagedGui.Builder<C>
handler
- The page change handler to add.Gui Builder
.AbstractGui.AbstractBuilder
AbstractGui.AbstractBuilder.modifiers
to the given AbstractGui
.applyModifiers
in class AbstractGui.AbstractBuilder<PagedGui<C>,PagedGui.Builder<C>>
gui
- The AbstractGui
to apply the modifiers toGui.Builder
clone
in interface Gui.Builder<PagedGui<C>,PagedGui.Builder<C>>
clone
in class AbstractGui.AbstractBuilder<PagedGui<C>,PagedGui.Builder<C>>