Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
What is this mod? This mod adds one block, the Pinout, a CC:Tweaked peripheral that is meant to bridge compatibility between CC:Tweaked and Create: Power Grid.
What is the pinout? The pinout is a cc:tweaked peripheral with 9 Create: Power Grid electrical pins
Who is it for? The pinout is for people who want to create more complex controlled systems without resorting to inventing analog hardware that can do the job.
What features does it have?
- Adds one new block, the Pinout. The pinout provides:
- A CC:Tweaked API for computer control.
- Allows Lua programs to connect or disconnect pins 1–8 to a shared common pin .
- Allows Lua programs to measure voltages across arbitrary pins.
CC:Tweaked API The Pinout exposes several Lua functions, including: connectPin(pin) disconnectPin(pin) setPins(table) setByte(value) pinsConnected() pinsVoltage(referencePin) comparePin(pin, referencePin) pinLayout() This makes it possible to control individual pins, update several pins at once, output an 8-bit value, or read voltage differences between pins.
Mod code partially created with Generative AI.


