@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, bindRunnable, clearItems, close, fillWith, getFallbackGui, getFirstEmpty, getFirstEmptySlot, getHandle, getInitialTitle, getMenuSize, getMenuSize, getPlayer, getSlot, isFirstDraw, isValid, open, removeItem, removeItems, removeItems, setFallbackGui, setItem, setItems, setItemspublic 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 © 2017. All rights reserved.