@minecraft/server-gametest
    Preparing search index...

    Class FenceConnectivityBeta

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

    Index

    Properties

    Properties

    east: boolean

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

    north: boolean

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

    south: boolean

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

    west: boolean

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