LecternProperties

data class LecternProperties(commonProperties: ICommonProperties, redstoneComparatorProperties: IRedstoneComparatorProperties, val currentPage: Int, val pageCount: Int) : ICommonProperties, IRedstoneComparatorProperties, IBookProperties(source)

Implementation of IBookProperties for lecterns, plus ICommonProperties and IRedstoneComparatorProperties.

Constructors

Link copied to clipboard
constructor(commonProperties: ICommonProperties, redstoneComparatorProperties: IRedstoneComparatorProperties, currentPage: Int, pageCount: Int)

Properties

Link copied to clipboard
open override val currentPage: Int

Current page of the book.

Link copied to clipboard
open override val pageCount: Int

Number of pages in the book.

Inherited properties

Link copied to clipboard
open override val biome: Identifier

Biome the container is in.

Link copied to clipboard
open override val comparatorOutput: Int

The output of the redstone comparator reading the container.

Link copied to clipboard
open override val date: LocalDate

The current date.

Link copied to clipboard
open override val height: Int

Y-coordinate of the container.

Link copied to clipboard
open override val name: String?

Custom container name (renamed with an anvil or with a name tag).

Functions

Link copied to clipboard
open override fun writeSelectors(appendSelector: BiConsumer<String, String>)