Skip to main content

Class: BlockComponentStepOnEvent

Contains information regarding an entity stepping onto a specific block.

Extends

Constructors

new BlockComponentStepOnEvent()

private new BlockComponentStepOnEvent(): BlockComponentStepOnEvent

Returns

BlockComponentStepOnEvent

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 stepped on the block.