Entity

public final class Entity implements InteractionTarget(source)

Represents the target of an interaction as an entity.

Parameters

entity

The target of the interaction

Constructors

Properties

Link copied to clipboard
private final Entity entity

Functions

Link copied to clipboard

Calculates the interaction data by the given target entity.

Link copied to clipboard
public final Entity getEntity()