实验性
实验性
可选
options: EntityEventOptions添加一个回调函数,当一个实体攻击另一个实体时会调用该回调函数。 * Adds a callback that will be called when an entity hits
This function can be called in early-execution mode.
实验性
移除一个回调函数,使其不再在实体进行近战攻击时被调用。
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.