@minecraft
    Preparing search index...

    Class EffectTypes

    Represents a type of effect - like poison - that can be applied to an entity.

    Index

    Methods

    Methods

    • World mutation

      Parameters

      • identifier: string

        The identifier for the effect.

      Returns EffectType

      Effect type for the given identifier or undefined if the effect does not exist.

      Effect type for the given identifier.