EntityTarget

Represents the target of an interaction as an entity.

Parameters

entity

The target of the interaction

Constructors

Link copied to clipboard
constructor(entity: @NotNull Entity)

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