@minecraft/server / SetBookContentsFunction
Class: SetBookContentsFunction ​
Defined in: @minecraft/server/index.d.ts:19679
Loot item function that modifies the contents of a dropped book.
Extends ​
Properties ​
author ​
readonlyauthor:string
Defined in: @minecraft/server/index.d.ts:19686
Remarks ​
The name of the book's author.
conditions ​
readonlyconditions:LootItemCondition[]
Defined in: @minecraft/server/index.d.ts:15793
Inherited from ​
pages ​
readonlypages:string[]
Defined in: @minecraft/server/index.d.ts:19692
Remarks ​
An array of text to be placed in the pages of the book.
title ​
readonlytitle:string
Defined in: @minecraft/server/index.d.ts:19698
Remarks ​
The book's title.