Skip to main content

Class: BlockComponentEntityFallOnEvent

Contains information regarding an entity falling onto a specific block.

Extends

Constructors

new BlockComponentEntityFallOnEvent()

private new BlockComponentEntityFallOnEvent(): BlockComponentEntityFallOnEvent

Returns

BlockComponentEntityFallOnEvent

Overrides

BlockEvent . constructor

Properties

block

readonly block: Block

Remarks

Block impacted by this event.

Inherited from

BlockEvent . block


dimension

readonly dimension: Dimension

Remarks

Dimension that contains the block that is the subject of this event.

Inherited from

BlockEvent . dimension


entity?

optional readonly entity: Entity

Remarks

The entity that fell onto the block.


fallDistance

readonly fallDistance: number

Remarks

The distance that the entity fell onto this block with.