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