@minecraft
    正在准备搜索索引...

    类 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.