BlockEntity

public final class BlockEntity implements InteractionTarget(source)

Represents the target of an interaction as a block entity.

Parameters

blockEntity

The target of the interaction

Functions

Link copied to clipboard

Calculates the interaction data by the given target entity.

Link copied to clipboard
public final BlockEntity getBlockEntity()

Properties

Link copied to clipboard
private final BlockEntity blockEntity