Interface WrittenBookContent
Holds the contents and metadata of a Written Book.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthor()
Player name of the author of this book.@org.checkerframework.common.value.qual.IntRange(from=0L, to=3L) int
The number of times this book has been copied (0 = original).pages()
Gets the pages of this book.boolean
resolved()
If the chat components in this book have already been resolved (entity selectors, scores substituted).title()
Title of this book.static WrittenBookContent.Builder
writtenBookContent
(Filtered<String> title, String author) static WrittenBookContent.Builder
writtenBookContent
(String title, String author)
-
Method Details
-
writtenBookContent
-
writtenBookContent
-
title
Title of this book.- Returns:
- title
-
author
Player name of the author of this book.- Returns:
- author
-
generation
@Contract(pure=true) @org.checkerframework.common.value.qual.IntRange(from=0L, to=3L) int generation()The number of times this book has been copied (0 = original).- Returns:
- generation
-
pages
Gets the pages of this book.- Returns:
- pages
-
resolved
If the chat components in this book have already been resolved (entity selectors, scores substituted). Iffalse
, will be resolved when opened by a player.- Returns:
- resolved
-