@minecraft/server
    Preparing search index...

    Class ExplosionBeforeEventBeta

    Contains information regarding an explosion that has happened.

    Hierarchy (View Summary)

    Index

    Properties

    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.

    Methods

    • Beta

      Parameters

      • blocks: Block[]

        New list of blocks that are impacted by this explosion.

      Returns void

      Updates a collection of blocks impacted by this explosion event.