Argument Mapping

In both the Circuits API (Implementation.class, Tests.class) and in-game (e.g, for creating custom circuits from the Control Block), circuits follow a convention for mapping input/output argument indices to block faces. With the top of the Icon.png corresponding to the "front" of the circuit (up in the figure below, away from the player on placement) and the bottom corresponding to the "back" of the circuit (down in the figure below, towards the player on placement), input indices increase from left-to-right, and so do the output indices, with the following mappings (birds-eye view) by #inputs/#outputs.