Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.26 KB

ExplosionAfterEventSignal.md

File metadata and controls

43 lines (32 loc) · 1.26 KB
author ms.author ms.service title description
jakeshirley
jashir
minecraft-bedrock-edition
minecraft/server.ExplosionAfterEventSignal Class
Contents of the @minecraft/server.ExplosionAfterEventSignal class.

ExplosionAfterEventSignal Class

Manages callbacks that are connected to when an explosion occurs.

Methods

subscribe

subscribe(callback: (arg: ExplosionAfterEvent) => void): (arg: ExplosionAfterEvent) => void

Adds a callback that will be called when an explosion occurs.

Parameters

Returns (arg: ExplosionAfterEvent) => void

Important

This function can't be called in read-only mode.

unsubscribe

unsubscribe(callback: (arg: ExplosionAfterEvent) => void): void

Removes a callback from being called when an explosion occurs.

Parameters

Important

This function can't be called in read-only mode.