Script API - v1.19.70
    Preparing search index...

    Represents an effect - like poison - that has been added to an Entity.

    Index

    Constructors

    Properties

    Constructors

    Properties

    amplifier: number

    Gets an amplifier that may have been applied to this effect. Sample values range typically from 0 to 4. Example: The effect 'Jump Boost II' will have an amplifier value of 1.

    This property can throw when used.

    displayName: string

    Gets the player-friendly name of this effect.

    This property can throw when used.

    duration: number

    Gets the entire specified duration, in ticks, of this effect.

    This property can throw when used.