WritableBookContent
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.item.component.WritableBookContent;
Implements
WritableBookContent
implements the following interfaces:
BookContent<WritableBookContent, string>
Members
getPages(filtered as bool) as List<string>
// WritableBookContent.getPages(filtered as bool) as List<string>;myWritableBookContent.getPages(myBool);
Parameters:
filtered: bool
Type: bool
Return Type:
List<string>
static of(pages as List<Filterable<string>>) as WritableBookContent
WritableBookContent.of(myList);
Parameters:
pages: List<Filterable<string>>
Type: List<Filterable<string>>
Return Type:
WritableBookContent
Getter
myWritableBookContent.pages
Return Type:
List<Filterable<string>>
withReplacedPages(pages as List<Filterable<string>>) as WritableBookContent
myWritableBookContent.withReplacedPages(myList);
Parameters:
pages: List<Filterable<string>>
Type: List<Filterable<string>>
Return Type:
WritableBookContent