WritableBookContent
Link to writablebookcontent
Importing the class
Link to importing-the-class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.item.component.WritableBookContent;
Extending Record
Link to extending-record
WritableBookContent extends Record. That means all methods available in Record are also available in WritableBookContent
Implemented Interfaces
Link to implemented-interfaces
WritableBookContent implements the following interfaces. That means all methods defined in these interfaces are also available in WritableBookContent
- BookContent<string,WritableBookContent>
Static Methods
Link to static-methods
Name: of
Return Type: WritableBookContent
ZenScript CopyWritableBookContent.of(pages as stdlib.List<Filterable<string>>) as WritableBookContent
Parameter | Type |
---|---|
Parameter pages | Type stdlib.List<Filterable<string>> |
Methods
Link to methods
Name: getPages
Return Type: stdlib.List<string>
ZenScript CopyWritableBookContent.getPages(filtered as boolean) as stdlib.List<string>
Parameter | Type |
---|---|
Parameter filtered | Type boolean |
Name: withReplacedPages
Return Type: WritableBookContent
ZenScript CopyWritableBookContent.withReplacedPages(pages as stdlib.List<Filterable<string>>) as WritableBookContent
Parameter | Type |
---|---|
Parameter pages | Type stdlib.List<Filterable<string>> |
Properties
Link to properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name pages | Type stdlib.List<Filterable<string>> | Has Getter true | Has Setter false |