实验性
实验性
可选
options: EntityEventOptionsAdds a callback that will be called when an entity hits another entity.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
This function can be called in early-execution mode.
实验性
Removes a callback from being called when an entity makes a melee attack on another entity.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
This function can be called in early-execution mode.
Manages callbacks that are connected to when an entity makes a melee attack on another entity.