DataDrivenEntityTriggerAfterEventSignal
¶
文档版本:1.21.60.21
DataDrivenEntityTriggerAfterEventSignal
类。script_api.minecraft/server.datadrivenentitytriggeraftereventsignal.description
方法¶
subscribe
script_api.minecraft/server.datadrivenentitytriggeraftereventsignal.subscribe.description
subscribe(callback: (arg: DataDrivenEntityTriggerAfterEvent) => void, options?: EntityDataDrivenTriggerEventOptions): (arg: DataDrivenEntityTriggerAfterEvent) => void
callback
:(DataDrivenEntityTriggerAfterEvent) => void
- script_api.minecraft/server.datadrivenentitytriggeraftereventsignal.subscribe.callback.description
unsubscribe
script_api.minecraft/server.datadrivenentitytriggeraftereventsignal.unsubscribe.description
callback
:(DataDrivenEntityTriggerAfterEvent) => void
- script_api.minecraft/server.datadrivenentitytriggeraftereventsignal.unsubscribe.callback.description
- 返回值:
void
- script_api.minecraft/server.datadrivenentitytriggeraftereventsignal.unsubscribe.return