Skip to main content

LecternBlockEntity

{}LecternBlockEntity:compound extends IBlockEntity

Lectern with ID = 37.

Tid:string= "Lectern"
{}book:compound extends Item

Standing book item, tag determines book placement.

+{}Block:compound extends Block
ICount:int

Amount of item in slot.

IDamage:int= "0 // not damaged at all"

Dealed damage, when it comes to item will be broken.

TName:string

Typed identifier, such as "minecraft:stick".

ISlot:int

Indexed slot, required in containers with more than one slots.

BWasPickedUp:byte

Picked up by entity, denies despawn it naturally.

+{}tag:compound extends T

Additional data, such as nametags, enchantments, etc.

BhasBook:byte

If book is placed, observer detects changed block.

Ipage:int

Index of page opened on lectern, redstone comparator obtains power page / totalPages * 15.

ItotalPages:int

Total pages counted in .

BisMovable:byteIBlockEntity

Block Entity will be saved without instantiating new one when transporting (via pistons, commands, etc.).