Package org.bukkit.inventory.meta
Interface BookMeta.BookMetaBuilder
- All Superinterfaces:
AbstractBuilder<Book>,Book.Builder,Buildable.Builder<Book>
- Enclosing interface:
BookMeta
@Deprecated(forRemoval=true,
since="1.21.11")
public static interface BookMeta.BookMetaBuilder
extends Book.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
BookMeta is mutable, there is no need for a builder.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.BookMeta is mutable, there is no need for a builder.Deprecated, for removal: This API element is subject to removal in a future version.BookMeta is mutable, there is no need for a builder.build()Deprecated, for removal: This API element is subject to removal in a future version.BookMeta is mutable, there is no need for a builder.pages(@NotNull Collection<Component> pages) Deprecated, for removal: This API element is subject to removal in a future version.BookMeta is mutable, there is no need for a builder.Deprecated, for removal: This API element is subject to removal in a future version.BookMeta is mutable, there is no need for a builder.Deprecated, for removal: This API element is subject to removal in a future version.BookMeta is mutable, there is no need for a builder.
-
Method Details
-
title
@Deprecated(forRemoval=true, since="1.21.11") @NotNull @NotNull BookMeta.BookMetaBuilder title(@Nullable Component title) Deprecated, for removal: This API element is subject to removal in a future version.BookMeta is mutable, there is no need for a builder.Description copied from interface:net.kyori.adventure.inventory.Book.BuilderSet the title.- Specified by:
titlein interfaceBook.Builder- Parameters:
title- the title- Returns:
- this
-
author
@Deprecated(forRemoval=true, since="1.21.11") @NotNull @NotNull BookMeta.BookMetaBuilder author(@Nullable Component author) Deprecated, for removal: This API element is subject to removal in a future version.BookMeta is mutable, there is no need for a builder.Description copied from interface:net.kyori.adventure.inventory.Book.BuilderSet the author.- Specified by:
authorin interfaceBook.Builder- Parameters:
author- the author- Returns:
- this
-
addPage
@Deprecated(forRemoval=true, since="1.21.11") @NotNull @NotNull BookMeta.BookMetaBuilder addPage(@NotNull Component page) Deprecated, for removal: This API element is subject to removal in a future version.BookMeta is mutable, there is no need for a builder.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 interfaceBook.Builder- Parameters:
page- the page- Returns:
- this
-
pages
@Deprecated(forRemoval=true, since="1.21.11") @NotNull @NotNull BookMeta.BookMetaBuilder pages(@NotNull Component @NotNull ... pages) Deprecated, for removal: This API element is subject to removal in a future version.BookMeta is mutable, there is no need for a builder.Description copied from interface:net.kyori.adventure.inventory.Book.BuilderAdd pages to the book.- Specified by:
pagesin interfaceBook.Builder- Parameters:
pages- pages to add- Returns:
- this
- See Also:
-
pages
@Deprecated(forRemoval=true, since="1.21.11") @NotNull @NotNull BookMeta.BookMetaBuilder pages(@NotNull Collection<Component> pages) Deprecated, for removal: This API element is subject to removal in a future version.BookMeta is mutable, there is no need for a builder.Description copied from interface:net.kyori.adventure.inventory.Book.BuilderAdd pages to the book.- Specified by:
pagesin interfaceBook.Builder- Parameters:
pages- pages to add- Returns:
- this
- See Also:
-
build
Deprecated, for removal: This API element is subject to removal in a future version.BookMeta is mutable, there is no need for a builder.Description copied from interface:net.kyori.adventure.inventory.Book.BuilderBuilds.- Specified by:
buildin interfaceAbstractBuilder<Book>- Specified by:
buildin interfaceBook.Builder- Specified by:
buildin interfaceBuildable.Builder<Book>- Returns:
- a new book
-