RedstonePort

A transient six-face redstone device, exclusively owned by the acquiring program.

Types

Link copied to clipboard
Link copied to clipboard

Output selection for this port, separate from peripheral adjacency.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun close()

Releases this handle; the last release clears all port outputs.

Link copied to clipboard
fun set(level: Int, power: Redstone.Power = Redstone.Power.WEAK, side: RedstonePort.Side = RedstonePort.Side.ALL)

ALL updates all six outputs in one host operation.