BlockEntityTarget

Represents the target of an interaction as a block entity.

Parameters

blockEntity

The target of the interaction

Constructors

Link copied to clipboard
constructor(blockEntity: @NotNull BlockEntity)

Inherited properties

Link copied to clipboard
@NotNull
val NoneTarget: @NotNull IInteractionTarget
Represents an interaction without a target.

Functions

Link copied to clipboard
@Nullable
open fun computeInteractionData(): @Nullable IInteractionData
Calculates the interaction data from the given target.

Inherited functions

Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String