DataDrivenEntityTriggerEventSignal
¶
文档版本:1.21.60.21
DataDrivenEntityTriggerEventSignal
类。script_api.mojang-minecraft.datadrivenentitytriggereventsignal.description
方法¶
subscribe
script_api.mojang-minecraft.datadrivenentitytriggereventsignal.subscribe.description
subscribe(callback: (arg: DataDrivenEntityTriggerEvent) => void, options?: EntityDataDrivenTriggerEventOptions): (arg: DataDrivenEntityTriggerEvent) => void
callback
:(DataDrivenEntityTriggerEvent) => void
- script_api.mojang-minecraft.datadrivenentitytriggereventsignal.subscribe.callback.description
options
?:EntityDataDrivenTriggerEventOptions
=null
- script_api.mojang-minecraft.datadrivenentitytriggereventsignal.subscribe.options.description
- 返回值:
(DataDrivenEntityTriggerEvent) => void
- script_api.mojang-minecraft.datadrivenentitytriggereventsignal.subscribe.return
unsubscribe
script_api.mojang-minecraft.datadrivenentitytriggereventsignal.unsubscribe.description
callback
:(DataDrivenEntityTriggerEvent) => void
- script_api.mojang-minecraft.datadrivenentitytriggereventsignal.unsubscribe.callback.description
- 返回值:
void
- script_api.mojang-minecraft.datadrivenentitytriggereventsignal.unsubscribe.return