Skip to content

API reference Obsidian.API.Containers

LecternContainer class

A lectern's book, which its window shows a page of, like vanilla's LecternMenu.

public sealed class LecternContainer : BaseContainer

In Obsidian.API.

Constructors

public LecternContainer();

Properties

public Vector BlockPosition { get; set; }

Book

public ItemStack Book { get; }

The book on the lectern, if any.

Page

public int Page { get; set; }

The page the book is open at.

Fields

public const int BookSlot = 0;

On this page