Skip to main content

Class: ExplosionAfterEvent

Contains information regarding an explosion that has happened.

Extended by

Constructors

new ExplosionAfterEvent()

private new ExplosionAfterEvent(): ExplosionAfterEvent

Returns

ExplosionAfterEvent

Properties

dimension

readonly dimension: Dimension

Remarks

Dimension where the explosion has occurred.


source?

optional readonly source: Entity

Remarks

Optional source of the explosion.

Methods

getImpactedBlocks()

getImpactedBlocks(): Block[]

Returns

Block[]

Remarks

A collection of blocks impacted by this explosion event.