FenceConnectivity Class

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

Properties

east

read-only east: boolean;

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

Type: boolean

north

read-only north: boolean;

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

Type: boolean

south

read-only south: boolean;

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

Type: boolean

west

read-only west: boolean;

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

Type: boolean