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

    Class EntityFlyingSpeedComponent

    import { world } from "@minecraft/server";

    for (const entity of world.getDimension("overworld").getEntities()) {
    const flyingSpeed = entity.getComponent("flying_speed");
    flyingSpeed.value;
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    entity: Entity

    This property can throw errors.

    InvalidEntityError

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

    isValid: boolean
    typeId: string
    value: number

    This property can't be edited in read-only mode.

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