CC: Dyson Cube Project
作者:schinki
Adds a Dyson Data Connector block that exposes Dyson Cube Project sphere statistics to CC:Tweaked computers via Lua API.
介绍
中文介绍正在准备中,下面暂时显示原文。
CC: Dyson Cube Program
Bridges CC: Tweaked computers with the Dyson Cube Project — monitor and automate your Dyson Sphere via Lua.
How to use
Place a Dyson Data Connector next to a Ray Receiver or EM Rail Ejector and connect it to any CC: Tweaked computer. The block exposes all live Dyson Sphere statistics as Lua functions, enabling full monitoring.
Features
- Auto-detection — automatically links to the adjacent Dyson Sphere component within 5 blocks (configurable)
- Manual override — set a specific sphere ID via
setSphereId()for multi-sphere setups - 13 Lua functions covering sails, beams, power generation, stored energy, build progress and more
Lua API
local conn = peripheral.find("dyson_data_connector")
-- or: peripheral.wrap("right")
conn.getSphereId() --> "sphere-0" (nil if not linked)
conn.setSphereId("sphere-0") -- manual override
conn.clearSphereId() -- back to auto-detect
conn.getSails() --> 1500 (launched Solar Sails)
conn.getBeams() --> 200 (Structural Beams)
conn.getMaxSails() --> 2000 (capacity at current beams)
conn.getProgress() --> 0.75 (0.0 – 1.0)
conn.getStoredPower() --> 1200000 (FE)
conn.isGeneratingPower() --> true
conn.getGenerationRate() --> 30000 (FE/t)
conn.getAllSphereIds() --> { "sphere-0", "sphere-1" }
Known bugs
- isGeneratingPower() always returns true, even when the Dyson Sphere is not currently generating any power.
Roadmap
Add a polished block model created with unique textures, and fix known bugs.
常见问题
CC: Dyson Cube Project 支持哪些 Minecraft 版本?
CC: Dyson Cube Project 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
CC: Dyson Cube Project 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分