@NonnullByDefault public class PaginatedGui extends Gui
OPEN_GUI_KEY| Constructor and Description |
|---|
PaginatedGui(Function<PaginatedGui,List<Item>> content,
Player player,
PaginatedGuiBuilder model) |
| Modifier and Type | Method and Description |
|---|---|
void |
redraw()
Places items on the GUI.
|
void |
updateContent(List<Item> content) |
addItem, addItems, bind, clearItems, close, fillWith, getFallbackGui, getFirstEmpty, getFirstEmptySlot, getHandle, getInitialTitle, getMenuSize, getMenuSize, getPlayer, getSlot, isFirstDraw, isValid, open, removeItem, removeItems, removeItems, setFallbackGui, setItem, setItems, setItemsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbindModulepublic PaginatedGui(Function<PaginatedGui,List<Item>> content, Player player, PaginatedGuiBuilder model)
public void redraw()
GuiGui.isFirstDraw() to determine if this is the first time redraw has been called.Copyright © 2020. All rights reserved.