yolkbot
    Preparing search index...

    Interface PathStep

    What the bot decided on a single tick, emitted as BotEvents.pathStep

    interface PathStep {
        budget: number;
        climbing: boolean;
        cursor: number;
        distance: number;
        idle: number;
        keys: number;
        kind: LinkKind | null;
        length: number;
        onGround: number;
        position: Position;
        waypoint: Position;
        yaw: number;
    }
    Index

    Properties

    budget: number

    How many ticks of patience are left before it gives up

    climbing: boolean

    Whether it is on a ladder

    cursor: number

    Which waypoint it is heading for

    distance: number

    How far it still is from the waypoint, horizontally

    idle: number

    How many ticks it has gone without getting closer

    keys: number

    The control keys it is about to hold

    kind: LinkKind | null

    How this leg is meant to be travelled

    length: number

    How many waypoints the path has

    onGround: number

    Its ground ticker; 0 means airborne

    position: Position

    Where the bot is

    waypoint: Position

    The waypoint it is walking to

    yaw: number

    The yaw it is about to face