类 ExplosionBeforeEvent实验性

Contains information regarding an explosion that has happened.

层级 (查看完整内容)

属性

cancel: boolean

If set to true, cancels the explosion event.

dimension: Dimension

Dimension where the explosion has occurred.

source?: Entity

Optional source of the explosion.

方法

  • 实验性

    参数

    • blocks: Block[]

      New list of blocks that are impacted by this explosion.

    返回 void

    Updates a collection of blocks impacted by this explosion event.