Skip to content

@minecraft/server-gametest


@minecraft/server-gametest / FenceConnectivity

Class: FenceConnectivity

Defined in: @minecraft/server-gametest/index.d.ts:50

Beta

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

Properties

east

readonly east: boolean

Defined in: @minecraft/server-gametest/index.d.ts:58

Beta

Remarks

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


north

readonly north: boolean

Defined in: @minecraft/server-gametest/index.d.ts:65

Beta

Remarks

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


south

readonly south: boolean

Defined in: @minecraft/server-gametest/index.d.ts:72

Beta

Remarks

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


west

readonly west: boolean

Defined in: @minecraft/server-gametest/index.d.ts:79

Beta

Remarks

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