yoni-mcscripts-lib
Version:
为 Minecraft Script API 中的部分接口创建了 wrapper,并提供简单的事件管理器和任务管理器,另附有一些便于代码编写的一些小工具。
19 lines (16 loc) • 491 B
text/typescript
import EntityEventOptions from "./EntityEventOptions";
/**
* @beta
* Specifies additional filters that are used in registering a
* data driven trigger event for entities.
*/
export default interface EntityDataDrivenTriggerEventOptions extends EntityEventOptions {
/**
* @remarks
* If this value is set, this event will only fire if the
* impacted triggered event matches one of the events listed in
* this parameter.
*
*/
eventTypes?: string[];
}