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

    Returns information about whether this fence is connected to other fences in several directions.

    export class FenceConnectivity {
    private constructor();
    readonly east: boolean;
    readonly north: boolean;
    readonly south: boolean;
    readonly west: boolean;
    }
    Index

    Constructors

    Properties

    Constructors

    Properties

    east: boolean

    Represents whether this fence block is connected to another fence to the east (x + 1).

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

    north: boolean

    Represents whether this fence block is connected to another fence to the north (z - 1).

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

    south: boolean

    Represents whether this fence block is connected to another fence to the south (z + 1).

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

    west: boolean

    Represents whether this fence block is connected to another fence to the west (x - 1).

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