Jump to content

Redstone IO

From Advanced Computers Wiki
Revision as of 18:42, 1 August 2026 by GHXX (talk | contribs) (Created page with "alt=Redstone IO block|thumb|Redstone IO block The Redstone IO block provides support for reading and setting redstone signals. It even supports specifying signal levels. == Provided component == This block provides the <code>itemInterface</code> component, offering methods shown below. For information on the side argument, see API:Sides. {| class="wikitable" |+ ItemInterfaceUD component methods |- ! Name !! Type !! Description |- | style=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Redstone IO block
Redstone IO block

The Redstone IO block provides support for reading and setting redstone signals. It even supports specifying signal levels.

Provided component

This block provides the itemInterface component, offering methods shown below. For information on the side argument, see API:Sides.

ItemInterfaceUD component methods
Name Type Description
:getInput(side:integer) integer Returns the current signal strength that is supplied to the redstone io block on the given side.
:setInput(side:integer, level:integer|boolean) void Sets the redstone signal outputted by the redstone io block on the given side. A value of true/false is interpreted as 15 and 0 respectively.