BlockEntityContainer

Something that contains block entities.

Inheritors

Functions

Link copied to clipboard
open fun getBlockEntity(position: Vec3i): BlockEntity?

Gets the block entity at the given position, or returns null if there is no block entity at the given position.

abstract fun getBlockEntity(x: Int, y: Int, z: Int): BlockEntity?

Gets the block entity at the given x, y, and z coordinates, or returns null if there is no block entity at the given x, y, and z coordinates.