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

    Class PotionEffectTypeBeta

    Represents a type of potion effect - like healing or leaping.

    Index

    Constructors

    Properties

    Constructors

    Properties

    durationTicks?: number

    Duration of the effect when applied to an entity in ticks. Undefined means the effect does not expire.

    This property can throw when used.

    minecraftcommon.EngineError

    This property can't be read in early-execution mode.

    id: string