BookContent

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.

script.zs
import crafttweaker.api.item.component.BookContent;

Members

pages() as List<Filterable<T>>
script.zs
// BookContent<C,T>.pages<C, T>() as List<Filterable<T>>;
myBookContent.pages<C, T>();

Return Type: List<Filterable<T>>

withReplacedPages(list as List<Filterable<T>>) as C
script.zs
// BookContent<C,T>.withReplacedPages<C, T>(list as List<Filterable<T>>) as C;
myBookContent.withReplacedPages<C, T>(myList);

Parameters:

list Type: List<Filterable<T>>

Return Type: C