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/EntityTamedBeforeEventSignal.md.

Class: EntityTamedBeforeEventSignal experimental

event entity

Beta

Preview

Manages callbacks that are connected to before an entity is tamed.

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?

EntityTamedEventOptions

Returns

Tip

Closure that is called with restricted-execution privilege.

(arg0) => void

Remarks


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

同领域相关