EntityHitBlockAfterEventSignal
¶
文档版本:1.21.60.21
EntityHitBlockAfterEventSignal
类。script_api.minecraft/server.entityhitblockaftereventsignal.description
方法¶
subscribe
script_api.minecraft/server.entityhitblockaftereventsignal.subscribe.description
subscribe(callback: (arg: EntityHitBlockAfterEvent) => void, options?: EntityEventOptions): (arg: EntityHitBlockAfterEvent) => void
callback
:(EntityHitBlockAfterEvent) => void
- script_api.minecraft/server.entityhitblockaftereventsignal.subscribe.callback.description
options
?:EntityEventOptions
=null
- script_api.minecraft/server.entityhitblockaftereventsignal.subscribe.options.description
- 返回值:
(EntityHitBlockAfterEvent) => void
- script_api.minecraft/server.entityhitblockaftereventsignal.subscribe.return
unsubscribe
script_api.minecraft/server.entityhitblockaftereventsignal.unsubscribe.description
callback
:(EntityHitBlockAfterEvent) => void
- script_api.minecraft/server.entityhitblockaftereventsignal.unsubscribe.callback.description
- 返回值:
void
- script_api.minecraft/server.entityhitblockaftereventsignal.unsubscribe.return