| Constructor | Description | 
|---|---|
| Spigot() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | addPage(@NotNull net.md_5.bungee.api.chat.BaseComponent[]... pages) | Adds new pages to the end of the book. | 
| @NotNull net.md_5.bungee.api.chat.BaseComponent[] | getPage(int page) | Gets the specified page in the book. | 
| @NotNull List<net.md_5.bungee.api.chat.BaseComponent[]> | getPages() | Gets all the pages in the book. | 
| void | setPage(int page,
       @Nullable net.md_5.bungee.api.chat.BaseComponent... data) | Sets the specified page in the book. | 
| void | setPages(@NotNull List<net.md_5.bungee.api.chat.BaseComponent[]> pages) | Clears the existing book pages, and sets the book to use the provided
 pages. | 
| void | setPages(@NotNull net.md_5.bungee.api.chat.BaseComponent[]... pages) | Clears the existing book pages, and sets the book to use the provided
 pages. | 
@NotNull public @NotNull net.md_5.bungee.api.chat.BaseComponent[] getPage(int page)
page - the page number to getpublic void setPage(int page,
                    @Nullable
                    @Nullable net.md_5.bungee.api.chat.BaseComponent... data)
The data can be up to 256 characters in length, additional characters are truncated.
page - the page number to setdata - the data to set for that page@NotNull public @NotNull List<net.md_5.bungee.api.chat.BaseComponent[]> getPages()
public void setPages(@NotNull
                     @NotNull List<net.md_5.bungee.api.chat.BaseComponent[]> pages)
pages - A list of pages to set the book to usepublic void setPages(@NotNull
                     @NotNull net.md_5.bungee.api.chat.BaseComponent[]... pages)
pages - A list of component arrays, each being a pagepublic void addPage(@NotNull
                    @NotNull net.md_5.bungee.api.chat.BaseComponent[]... pages)
pages - A list of component arrays, each being a pageCopyright © 2020. All rights reserved.