Chest

Properties

Link copied to clipboard
abstract val block: Block

The block that this entity is bound to.

Link copied to clipboard
abstract val connectedChest: Chest?

The chest that this chest is connected to, if this chest is a double chest.

Link copied to clipboard
abstract var displayName: Component

The display name of the block entity.

Link copied to clipboard
abstract val inventory: Inventory

The inventory that this block entity has.

Link copied to clipboard
abstract var lockToken: String?

The token that this container block entity is locked with.

Link copied to clipboard
abstract val position: Vec3i

The position of this block entity.

Link copied to clipboard
abstract val type: BlockEntityType<*>

The type of this block entity.

Link copied to clipboard
abstract val world: World

The world this block entity is in.