BlockEntity

class BlockEntity(val blockEntity: BlockEntity) : InteractionTarget(source)

Represents the target of an interaction as a block entity.

Parameters

blockEntity

The target of the interaction

Constructors

Link copied to clipboard
constructor(blockEntity: BlockEntity)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun computeInteractionData(): Any?

Calculates the interaction data by the given target entity.