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

    Class EntityNavigationFloatComponent

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

    for (const entity of world.getDimension("overworld").getEntities()) {
    const navigationFloat = entity.getComponent("minecraft:navigation.float");
    navigationFloat.avoidDamageBlocks;
    navigationFloat.avoidPortals;
    navigationFloat.avoidSun;
    navigationFloat.avoidWater;
    navigationFloat.canBreach;
    navigationFloat.canBreakDoors;
    navigationFloat.canFloat;
    navigationFloat.canJump;
    navigationFloat.canOpenDoors;
    navigationFloat.canOpenIronDoors;
    navigationFloat.canPassDoors;
    navigationFloat.canPathFromAir;
    navigationFloat.canPathOverLava;
    navigationFloat.canPathOverWater;
    navigationFloat.canSink;
    navigationFloat.canSwim;
    navigationFloat.canWalk;
    navigationFloat.canWalkInLava;
    navigationFloat.isAmphibious;
    navigationFloat.isValid;
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    avoidDamageBlocks: boolean

    This property can throw errors.

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

    avoidPortals: boolean

    This property can throw errors.

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

    avoidSun: boolean

    This property can throw errors.

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

    avoidWater: boolean

    This property can throw errors.

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

    canBreach: boolean

    This property can throw errors.

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

    canBreakDoors: boolean

    This property can throw errors.

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

    canFloat: boolean

    This property can throw errors.

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

    canJump: boolean

    This property can throw errors.

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

    canOpenDoors: boolean

    This property can throw errors.

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

    canOpenIronDoors: boolean

    This property can throw errors.

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

    canPassDoors: boolean

    This property can throw errors.

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

    canPathFromAir: boolean

    This property can throw errors.

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

    canPathOverLava: boolean

    This property can throw errors.

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

    canPathOverWater: boolean

    This property can throw errors.

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

    canSink: boolean

    This property can throw errors.

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

    canSwim: boolean

    This property can throw errors.

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

    canWalk: boolean

    This property can throw errors.

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

    canWalkInLava: boolean

    This property can throw errors.

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

    entity: Entity

    This property can throw errors.

    InvalidEntityError

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

    isAmphibious: boolean

    This property can throw errors.

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

    isValid: boolean
    typeId: string