Class: EntityDieAfterEventSignal
event entityBeta
Supports registering for an event that fires after an entity has died.
Methods
subscribe()
subscribe(
callback,options?): (arg0) =>void
World Mutation Early Execution Beta
Parameters
callback
(arg0) => void
Function to call when an entity dies.
options?
Additional filtering options for when the subscription fires.
Returns
Returns the closure that can be used in future downstream calls to unsubscribe.
(arg0) => void
Remarks
Subscribes to an event that fires when an entity dies.
unsubscribe()
unsubscribe(
callback):void
World Mutation Early Execution Beta
Parameters
callback
(arg0) => void
Returns
void
Remarks
Stops this event from calling your function when an entity dies.
