跳转至

EntitySpawnAfterEventSignal

文档版本:1.21.60.21

EntitySpawnAfterEventSignal类。script_api.minecraft/server.entityspawnaftereventsignal.description

方法

subscribe

script_api.minecraft/server.entityspawnaftereventsignal.subscribe.description

subscribe(callback: (arg: EntitySpawnAfterEvent) => void): (arg: EntitySpawnAfterEvent) => void
unsubscribe

script_api.minecraft/server.entityspawnaftereventsignal.unsubscribe.description

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