Constructor and Description |
---|
Spigot() |
Modifier and Type | Method and Description |
---|---|
void |
addPage(BaseComponent[]... pages)
Deprecated.
|
@NotNull BaseComponent[] |
getPage(int page)
Deprecated.
in favour of
BookMeta.page(int) |
@NotNull List<BaseComponent[]> |
getPages()
Deprecated.
in favour of
Book.pages() |
void |
setPage(int page,
BaseComponent... data)
Deprecated.
|
void |
setPages(BaseComponent[]... pages)
Deprecated.
in favour of
Book.pages(net.kyori.adventure.text.Component...) |
void |
setPages(@NotNull List<BaseComponent[]> pages)
Deprecated.
in favour of
Book.pages(java.util.List) |
@NotNull @Deprecated public @NotNull BaseComponent[] getPage(int page)
BookMeta.page(int)
page
- the page number to get@Deprecated public void setPage(int page, @Nullable BaseComponent... data)
BookMeta.page(int, net.kyori.adventure.text.Component)
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 @Deprecated public @NotNull List<BaseComponent[]> getPages()
Book.pages()
@Deprecated public void setPages(@NotNull @NotNull List<BaseComponent[]> pages)
Book.pages(java.util.List)
pages
- A list of pages to set the book to use@Deprecated public void setPages(@NotNull BaseComponent[]... pages)
Book.pages(net.kyori.adventure.text.Component...)
pages
- A list of component arrays, each being a page@Deprecated public void addPage(@NotNull BaseComponent[]... pages)
BookMeta.addPages(net.kyori.adventure.text.Component...)
pages
- A list of component arrays, each being a pageCopyright © 2021. All rights reserved.