Uses of Interface
io.papermc.paper.datacomponent.item.WrittenBookContent.Builder
-
Uses of WrittenBookContent.Builder in io.papermc.paper.datacomponent.item
Modifier and TypeMethodDescriptionWrittenBookContent.Builder.addFilteredPage
(Filtered<? extends ComponentLike> page) Adds a filterable page to this book.WrittenBookContent.Builder.addFilteredPages
(List<Filtered<? extends ComponentLike>> pages) Adds filterable pages to this book.WrittenBookContent.Builder.addPage
(ComponentLike page) Adds a page to this book.WrittenBookContent.Builder.addPages
(List<? extends ComponentLike> page) Adds pages to this book.Sets the author of this book.WrittenBookContent.Builder.filteredTitle
(Filtered<String> title) Sets the filterable title of this book.WrittenBookContent.Builder.generation
(@org.checkerframework.common.value.qual.IntRange(from=0L, to=3L) int generation) Sets the generation of this book.WrittenBookContent.Builder.resolved
(boolean resolved) Sets if the chat components in this book have already been resolved (entity selectors, scores substituted).Sets the title of this book.static WrittenBookContent.Builder
WrittenBookContent.writtenBookContent
(Filtered<String> title, String author) static WrittenBookContent.Builder
WrittenBookContent.writtenBookContent
(String title, String author)