PlayerDimensionChangeAfterEventSignal
¶
文档版本:1.21.60.21
PlayerDimensionChangeAfterEventSignal
类。script_api.minecraft/server.playerdimensionchangeaftereventsignal.description
方法¶
subscribe
script_api.minecraft/server.playerdimensionchangeaftereventsignal.subscribe.description
subscribe(callback: (arg: PlayerDimensionChangeAfterEvent) => void): (arg: PlayerDimensionChangeAfterEvent) => void
callback
:(PlayerDimensionChangeAfterEvent) => void
- script_api.minecraft/server.playerdimensionchangeaftereventsignal.subscribe.callback.description
- 返回值:
(PlayerDimensionChangeAfterEvent) => void
- script_api.minecraft/server.playerdimensionchangeaftereventsignal.subscribe.return
unsubscribe
script_api.minecraft/server.playerdimensionchangeaftereventsignal.unsubscribe.description
callback
:(PlayerDimensionChangeAfterEvent) => void
- script_api.minecraft/server.playerdimensionchangeaftereventsignal.unsubscribe.callback.description
- 返回值:
void
- script_api.minecraft/server.playerdimensionchangeaftereventsignal.unsubscribe.return