For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/EntityHealBeforeEventSignal.md.

Class: EntityHealBeforeEventSignal

event entity

Beta

Manages callbacks that are connected to when an entity will be healed.

Methods

subscribe()

subscribe(callback, options?): (arg0) => void

World Mutation Early Execution Beta

Parameters

callback

(arg0) => void

Tip

This closure is called with restricted-execution privilege.

options?

EntityHealEventOptions

Returns

Tip

Closure that is called with restricted-execution privilege.

(arg0) => void

Remarks

Adds a callback that will be called when an entity will be healed.


unsubscribe()

unsubscribe(callback): void

World Mutation Early Execution Beta

Parameters

callback

(arg0) => void

Tip

This closure is called with restricted-execution privilege.

Returns

void

Remarks

Removes a callback from being called when an entity will be healed.

同领域相关