跳转至

PlayerSpawnAfterEventSignal

文档版本:1.21.60.21

PlayerSpawnAfterEventSignal类。script_api.minecraft/server.playerspawnaftereventsignal.description

方法

subscribe

script_api.minecraft/server.playerspawnaftereventsignal.subscribe.description

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

script_api.minecraft/server.playerspawnaftereventsignal.unsubscribe.description

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