Package org.bukkit.inventory.meta
Interface BookMeta.BookMetaBuilder
- All Superinterfaces:
 net.kyori.adventure.builder.AbstractBuilder<net.kyori.adventure.inventory.Book>,net.kyori.adventure.inventory.Book.Builder,net.kyori.adventure.util.Buildable.Builder<net.kyori.adventure.inventory.Book>
- Enclosing interface:
 BookMeta
public static interface BookMeta.BookMetaBuilder
extends net.kyori.adventure.inventory.Book.Builder
- 
Method Summary
Modifier and TypeMethodDescriptionAdd a page to the book.Set the author.build()Builds.pages(@NotNull Collection<net.kyori.adventure.text.Component> pages) Add pages to the book.Add pages to the book.Set the title. 
- 
Method Details
- 
title
@NotNull @NotNull BookMeta.BookMetaBuilder title(@Nullable net.kyori.adventure.text.Component title) Description copied from interface:net.kyori.adventure.inventory.Book.BuilderSet the title.- Specified by:
 titlein interfacenet.kyori.adventure.inventory.Book.Builder- Parameters:
 title- the title- Returns:
 - this
 
 - 
author
@NotNull @NotNull BookMeta.BookMetaBuilder author(@Nullable net.kyori.adventure.text.Component author) Description copied from interface:net.kyori.adventure.inventory.Book.BuilderSet the author.- Specified by:
 authorin interfacenet.kyori.adventure.inventory.Book.Builder- Parameters:
 author- the author- Returns:
 - this
 
 - 
addPage
@NotNull @NotNull BookMeta.BookMetaBuilder addPage(@NotNull net.kyori.adventure.text.Component page) Description copied from interface:net.kyori.adventure.inventory.Book.BuilderAdd a page to the book.Each page's length will be limited by the size of the client's book viewer. Any text that does not fit will be truncated clientside.
- Specified by:
 addPagein interfacenet.kyori.adventure.inventory.Book.Builder- Parameters:
 page- the page- Returns:
 - this
 
 - 
pages
@NotNull @NotNull BookMeta.BookMetaBuilder pages(@NotNull net.kyori.adventure.text.Component @NotNull ... pages) Description copied from interface:net.kyori.adventure.inventory.Book.BuilderAdd pages to the book.- Specified by:
 pagesin interfacenet.kyori.adventure.inventory.Book.Builder- Parameters:
 pages- pages to add- Returns:
 - this
 - See Also:
 
 - 
pages
@NotNull @NotNull BookMeta.BookMetaBuilder pages(@NotNull Collection<net.kyori.adventure.text.Component> pages) Description copied from interface:net.kyori.adventure.inventory.Book.BuilderAdd pages to the book.- Specified by:
 pagesin interfacenet.kyori.adventure.inventory.Book.Builder- Parameters:
 pages- pages to add- Returns:
 - this
 - See Also:
 
 - 
build
Description copied from interface:net.kyori.adventure.inventory.Book.BuilderBuilds.- Specified by:
 buildin interfacenet.kyori.adventure.builder.AbstractBuilder<net.kyori.adventure.inventory.Book>- Specified by:
 buildin interfacenet.kyori.adventure.inventory.Book.Builder- Specified by:
 buildin interfacenet.kyori.adventure.util.Buildable.Builder<net.kyori.adventure.inventory.Book>- Returns:
 - a new book
 
 
 -