类 DataDrivenEntityTriggerAfterEventSignal实验性

包含与触发数据驱动实体事件相关的事件注册,例如鸡的 minecraft:ageable_grow_up 事件。

Contains event registration related to firing of a data driven entity event - for example, the minecraft:ageable_grow_up event on a chicken.

方法

  • 实验性

    参数

    返回 void

    移除一个回调函数,该回调函数会在数据驱动实体事件被触发后调用。

    Removes a callback that will be called after a data driven entity event is triggered.

    无法在只读模式下调用此函数,详见 WorldBeforeEvents

    This function can be called in early-execution mode.