CC;CPG: Pinout 图标

CC;CPG: Pinout

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.2.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/cccpg-pinout
资源信息

Minecraft 版本: 1.21.1

平台: neoforge

标签: technology

资源介绍

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.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Advanced Durability

价格:0 墨喵币
下载量:0

查看详情
Yume Artifacts

价格:0 墨喵币
下载量:0

查看详情
NLLCORE

价格:0 墨喵币
下载量:0

查看详情
Litematica Easy Place Indicator

价格:0 墨喵币
下载量:0

查看详情