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