Skip to content
BasaltSoftware
Bedrock 1.26.60

Site colour

Discord
Esc

    ↑↓ moveEnter openEsc close

    Keyboard shortcuts
    Ctrl K
    Search the whole site, from any page
    /
    Jump to the sidebar search, or search the whole site where there isn't one
    Enter
    Open the top search result
    Esc
    Clear the search, or close this panel
    ?
    Show these shortcuts
    Entities

    EffectType

    An effect type, as handed to Entity.addEffect.

    1 property · 1 method
    On this page

    Class in @minecraft/server

    An effect type, as handed to Entity.addEffect.

    import { EffectType } from '@minecraft/server';

    read-only

    readonly id: string;
    getName(): string;

    The id without its namespace, such as speed.

    Returns
    string

    Entity.addEffect, Entity.getEffect, Entity.removeEffect