PlayerLeaveEventSignal
¶
文档版本:1.21.60.21
PlayerLeaveEventSignal
类。script_api.mojang-minecraft.playerleaveeventsignal.description
方法¶
subscribe
script_api.mojang-minecraft.playerleaveeventsignal.subscribe.description
callback
:(PlayerLeaveEvent) => void
- script_api.mojang-minecraft.playerleaveeventsignal.subscribe.callback.description
- 返回值:
(PlayerLeaveEvent) => void
- script_api.mojang-minecraft.playerleaveeventsignal.subscribe.return
unsubscribe
script_api.mojang-minecraft.playerleaveeventsignal.unsubscribe.description
callback
:(PlayerLeaveEvent) => void
- script_api.mojang-minecraft.playerleaveeventsignal.unsubscribe.callback.description
- 返回值:
void
- script_api.mojang-minecraft.playerleaveeventsignal.unsubscribe.return