Edit

BlockComponentEntityEvent Class

Extends

Contains information regarding an event sent by an entity to this block in the world.

Properties

blockPermutation

read-only blockPermutation: BlockPermutation;

Returns permutation information about the block receiving the event.

Type: BlockPermutation

entitySource

read-only entitySource: Entity;

The entity that sent the event.

Type: Entity

name

read-only name: string;

Name of the event fired by the entity.

Type: string