BookProperties

data class BookProperties(commonProperties: ICommonProperties, val currentPage: Int, val pageCount: Int) : ICommonProperties, IBookProperties(source)

Implementation of IBookProperties for book items.

Constructors

Link copied to clipboard
constructor(commonProperties: ICommonProperties, 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 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>)