实验性
表示一种效果类型 - 例如中毒 - 可以应用于实体。 Represents a type of effect - like poison - that can be applied to an entity.
静态
效果的标识符。 The identifier for the effect.
给定标识符的效果类型,若效果不存在则返回 undefined。 Effect type for the given identifier or undefined if the effect does not exist.
表示给定标识符的效果类型。 Effect type for the given identifier.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
所有效果的列表。 A list of all effects.
获取所有效果。 Gets all effects.
表示一种效果类型 - 例如中毒 - 可以应用于实体。 Represents a type of effect - like poison - that can be applied to an entity.