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

Class: EntityHitBlockAfterEventSignal

event entity block

Beta

Manages callbacks that are connected to when an entity hits a block.

Methods

subscribe()

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

World Mutation Early Execution Beta

Parameters

callback

(arg0) => void

options?

EntityEventOptions

Returns

(arg0) => void

Remarks

Adds a callback that will be called when an entity hits a block.


unsubscribe()

unsubscribe(callback): void

World Mutation Early Execution Beta

Parameters

callback

(arg0) => void

Returns

void

Remarks

Removes a callback from being called when an entity hits a block.

同领域相关