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

    Class EntityNavigationClimbComponent

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

    system.run(() => {
    const spider = world.getDimension("overworld").spawnEntity("minecraft:spider", { x: 0, y: 0, z: 0 });
    const navigationClimb = spider.getComponent("minecraft:navigation.climb");

    if (!navigationClimb) {
    world.sendMessage("Spider navigation climb component not found");
    return;
    }

    // Display navigation properties
    world.sendMessage(`Spider Navigation Properties:`);
    world.sendMessage(`- Can climb: ${navigationClimb.canPathFromAir}`);
    world.sendMessage(`- Avoid water: ${navigationClimb.avoidWater}`);
    world.sendMessage(`- Can jump: ${navigationClimb.canJump}`);
    world.sendMessage(`- Can swim: ${navigationClimb.canSwim}`);
    });

    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