实验性
实验性
可选
options: EntityEventOptions添加一个在实体添加效果时调用的回调函数。
Adds a callback that will be called when an effect is added to an entity.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
This function can be called in early-execution mode.
实验性
移除一个在实体添加效果时调用的回调函数。
Removes a callback from being called when an effect is added to an entity.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
This function can be called in early-execution mode.
管理连接到实体添加效果时的回调函数。
Manages callbacks that are connected to when an effect is added to an entity.