接口 EntityEffectOptions实验性

Contains additional options for entity effects.

interface EntityEffectOptions {
    amplifier?: number;
    showParticles?: boolean;
}

属性

amplifier?: number

The strength of the effect.

showParticles?: boolean

If true, will show particles when effect is on the entity.