mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
#985: Correct book maximum pages and characters per page documentation
By: Marco <thevipershowita@gmail.com>
This commit is contained in:
parent
3d68b13188
commit
016f4cc0da
1 changed files with 5 additions and 5 deletions
|
@ -133,7 +133,7 @@ public interface BookMeta extends ItemMeta {
|
||||||
* Sets the specified page in the book. Pages of the book must be
|
* Sets the specified page in the book. Pages of the book must be
|
||||||
* contiguous.
|
* contiguous.
|
||||||
* <p>
|
* <p>
|
||||||
* The data can be up to 256 characters in length, additional characters
|
* The data can be up to 1024 characters in length, additional characters
|
||||||
* are truncated.
|
* are truncated.
|
||||||
* <p>
|
* <p>
|
||||||
* Pages are 1-indexed.
|
* Pages are 1-indexed.
|
||||||
|
@ -153,7 +153,7 @@ public interface BookMeta extends ItemMeta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clears the existing book pages, and sets the book to use the provided
|
* Clears the existing book pages, and sets the book to use the provided
|
||||||
* pages. Maximum 100 pages with 256 characters per page.
|
* pages. Maximum 100 pages with 1024 characters per page.
|
||||||
*
|
*
|
||||||
* @param pages A list of pages to set the book to use
|
* @param pages A list of pages to set the book to use
|
||||||
*/
|
*/
|
||||||
|
@ -161,15 +161,15 @@ public interface BookMeta extends ItemMeta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clears the existing book pages, and sets the book to use the provided
|
* Clears the existing book pages, and sets the book to use the provided
|
||||||
* pages. Maximum 50 pages with 256 characters per page.
|
* pages. Maximum 100 pages with 1024 characters per page.
|
||||||
*
|
*
|
||||||
* @param pages A list of strings, each being a page
|
* @param pages A list of strings, each being a page
|
||||||
*/
|
*/
|
||||||
void setPages(@NotNull String... pages);
|
void setPages(@NotNull String... pages);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds new pages to the end of the book. Up to a maximum of 50 pages with
|
* Adds new pages to the end of the book. Up to a maximum of 100 pages with
|
||||||
* 256 characters per page.
|
* 1024 characters per page.
|
||||||
*
|
*
|
||||||
* @param pages A list of strings, each being a page
|
* @param pages A list of strings, each being a page
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue