Create: No Unlimited Energy (NUE)
让 Create 中的动力成为你需要去设计的东西,而不是随手放置就能用的东西。
NUE 将 Create 的动能与真正流动的水
(Flowing Fluids) 以及少许
ComputerCraft 的功能相结合,将能量生成转化为一个真正的工程问题:建造一座水力大坝、一个风电场,以及运行它们的逻辑——而不是一辆停在水坑里的车轮。服务器端权威;客户端只需安装此模组即可在护目镜中看到正确的数值。
实际效果
护目镜读数:可用功率、转速以及大坝协同倍数(9 个车轮的大坝,×1.40)。
显示器上的实时能源仪表盘,由 cm_generator 和 cm_meter 外设驱动。
将 ComputerCraft 调制解调器连接到车轮和仪表(绿色 = 已连接外设)。
设计理念
- 免费且容易获得的能量是 bug。 静止水池中的车轮——或密封的泵循环——不应该为基地供电。动力必须通过努力获得。
- 水是工程化的产物。 车轮仅在真实水流中运转,其输出功率随流速、落差(水流冲击车轮的高度差)和生物群系而变化。宽阔的水渠和高耸的大坝才是杠杆所在。
- 规模带来收益。 将多个工作车轮集中到一座大坝中会产生超线性回报——真正的水力巨型结构比散乱的车轮带来的增益远超 ×N 倍。
- 没有永动机。 发电会在进水口消耗少量水,因此封闭的“泵→车轮”循环会干涸;只有真实的雨水 / 河流 / 海洋水源才能持续维持。
- 风力多变,并非免费。 风车的转子速度追踪当前的阵风、天气以及昼夜循环,其强度取决于放置位置(开阔天空、高度、生物群系)。廉价且适合早期使用——但不可靠。
- 稳定的水流 vs 多变的风力。 水是优质且可扩展的基础骨干;风力是便捷但不稳定的早期选择。两者皆可建造。
- 可选自动化。 ComputerCraft 外设暴露了每个车轮、风车和仪表的实时遥测数据,因此你可以用 Lua 构建仪表盘和控制逻辑。非必需。
依赖项
Fabric Loader ≥ 0.15 · Java 17 或 21。
语言
游戏内文本(护目镜读数)支持本地化:
- ?? English (
en_us) — 默认
- ?? Русский (
ru_ru)
- ?? 简体中文 (
zh_cn)
欢迎提供翻译 —— 添加 assets/create_nue/lang/<locale>.json 并发起 PR。
功能特性
水车 — 仅限流动水,且大坝有额外奖励
- 仅真实水流有效。 静止水中的车轮产生零动力——你必须构建实际的水流。(这也修复了 Flowing Fluids
REQUIRE_FLOW 模式下车轮从未注册为水流监听者而保持死寂的 bug。)
- 功率 = 流速 × 落差 × 生物群系。 高坝和强水流是你扩大规模的手段。
- 巨型结构奖励。 一组正在发电的车轮(真正的大坝)享有超线性奖励;干燥的虚假集群则毫无收益。
- 方向稳定性。 带符号分数的迟滞效应 + 轴心共识防止车轮在有限水流扰动下频繁反转方向,使得大型单向阵列可被建造。
- 没有永动机。 少量“水作为燃料”的税会在发电时排空进水口。
- 护目镜读数。 在车轮上佩戴 Create 的护目镜可显示大坝大小及其倍数。
风车 — 多变的风力,而非固定数值
两个独立量(在 Create 中,SU = 每 RPM 容量 × RPM):
- 速度(可见转子) = 当前有多大风——阵风 × 天气 × 昼夜,经过平滑处理以使转子自然漂移。
- 力量(容量) = 风车的放置位置——开阔天空暴露度 × 高度 × 区域生物群系。
ComputerCraft(可选)
将有线调制解调器连接到车轮、风车、应力计或转速表——无需新方块,无硬性依赖(集成仅在 CC 存在时加载)。
| 外设 |
方法 |
cm_generator (车轮, 风车) |
kind(), active(), capacity(), rpm(), stress(), info() |
cm_meter (应力计, 转速表) |
gaugeType(), speed(), capacity(), stressUsed(), load(), overstressed() |
-- 打印有线网络上的所有 NUE 发电机和仪表
for _, n in ipairs(peripheral.getNames()) do
local t = peripheral.getType(n)
if t == "cm_generator" then local g = peripheral.wrap(n)
print(n, g.kind(), g.active(), g.stress() .. "SU", g.rpm() .. "rpm")
elseif t == "cm_meter" then local m = peripheral.wrap(n)
print(n, m.gaugeType(), m.stressUsed() .. "/" .. m.capacity() .. "SU", math.floor(m.load()*100) .. "%")
end
end
配置
首次启动时在 config/create_nue.json 生成 —— 每个值均可调整(流/落差/生物群系曲线、大坝协同奖励、水量税、完整的风力模型、每车轮 SU 上限)。删除它以重新生成。
从源代码构建
使用 Loom + Mojang 映射编译,针对 Java 17(可在 17 或 21 上运行)。编译时依赖项(Create、Flowing Fluids、CC: Tweaked 和 fabric-api-lookup-api-v1 模块)不会重新分发 —— 将它们放入 libs/,然后:
./gradlew build # -> build/libs/create-nue-<version>.jar
路线图
NUE 是对 “Create 模组中免费且易得的能源设定很荒谬” 这一观点的持续回应。我们正在深化能源生成机制,同时保持 RF/电力和储能作为正常的进度层级——目标是让 巨型水坝成为获取电力最具回报的方式,并以水车和风车作为整个能源经济的基础机械架构。计划中的内容包括:盈利性发电的经济挂钩、抽水蓄能储能、季节性水流与风力变化,以及更丰富的 ComputerCraft 遥测功能。
贡献指南
构建流程、架构设计、Mixin 规范、本地化及发布流程等文档详见 AGENTS.md。欢迎提交翻译和 PR。
许可证
MIT。欢迎贡献代码与 Fork。
Create: No Unlimited Energy (NUE)
Make power in Create something you engineer, not something you plop down.
NUE ties Create's kinetics to genuinely flowing water
(Flowing Fluids) and a touch of
ComputerCraft, turning energy generation into a real engineering
problem: build a hydroelectric dam, a wind farm, and the logic that runs them — instead of a wheel parked
in a puddle. Server-authoritative; clients only need the jar to see correct numbers in the goggles.
In action
Goggle readout: available power, rotation speed, and the dam-coherence multiplier (a 9-wheel dam, ×1.40).
A live energy dashboard on a monitor, driven by the cm_generator and cm_meter peripherals.
Wiring ComputerCraft modems to the wheels and gauges (green = a peripheral is attached).
Philosophy
- Free, easy energy is the bug. A wheel in a still pool — or a sealed pump loop — should not power
a base. Power has to be earned.
- Water is engineered. Wheels run only on a real current, and output scales with flow strength, the
head (how far the water falls onto the wheel) and biome. Strong channels and tall dams are the lever.
- Bigger pays off. Many working wheels clustered into one dam reward super-linearly — a real
hydro megastructure beats scattered wheels by more than ×N.
- No perpetual motion. Generating consumes a little water at the intake, so closed pump→wheel loops
run dry; only genuine rain / river / ocean sources sustain.
- Wind is variable, not free. A windmill's rotor speed tracks live gusts, weather and the day/night
cycle, and its strength depends on placement (open sky, height, biome). Cheap and early — but unreliable.
- Stable water vs gusty wind. Water is the premium, scalable backbone; wind is the convenient, swingy
early option. Build both.
- Automate it — optionally. ComputerCraft peripherals expose live telemetry of every wheel, windmill
and gauge, so you can build dashboards and control logic in Lua. Never required.
Requirements
| Mod |
Role |
| Create (Fabric) 6.x |
Required |
| Flowing Fluids |
Required — finite, genuinely flowing water. Set create_waterWheelMode = REQUIRE_FLOW. |
| CC: Tweaked |
Optional — read-only telemetry peripherals. Everything works without it. |
Fabric Loader ≥ 0.15 · Java 17 or 21.
Languages
In-game text (the goggle readout) is localized:
- ?? English (
en_us) — default
- ?? Русский (
ru_ru)
- ?? 简体中文 (
zh_cn)
Translations welcome — add an assets/create_nue/lang/<locale>.json and open a PR.
Features
Water wheels — flowing water only, and dams pay off
- Real current only. A wheel in still water produces nothing — you build an actual flow. (Also
fixes a Flowing Fluids
REQUIRE_FLOW bug where wheels never registered as flow listeners and stayed dead.)
- Power = current strength × head × biome. Tall dams and strong channels are how you scale.
- Megastructure reward. A cluster of generating wheels (a real dam) rewards super-linearly; a dry,
fake cluster gains nothing.
- Direction stability. Signed-score hysteresis + shaft consensus stop wheels flickering direction under
finite-water churn, so large single-direction arrays are buildable.
- No perpetual motion. A small water-as-fuel tax drains the intake while generating.
- Goggle readout. Wearing Create's goggles on a wheel shows the dam size and its multiplier.
Windmills — variable wind, not a flat number
Two independent quantities (in Create, SU = capacity-per-RPM × RPM):
- Speed (the visible rotor) = how windy it is right now — gusts × weather × day/night, smoothed so
the rotor drifts naturally.
- Force (capacity) = the windmill's placement — open-sky exposure × height × region biome.
ComputerCraft (optional)
Attach a wired modem to a wheel, windmill, Stressometer or Speedometer — no new blocks, no hard
dependency (the integration only loads when CC is present).
| Peripheral |
Methods |
cm_generator (wheels, windmills) |
kind(), active(), capacity(), rpm(), stress(), info() |
cm_meter (Stressometer, Speedometer) |
gaugeType(), speed(), capacity(), stressUsed(), load(), overstressed() |
-- print every NUE generator + gauge on the wired network
for _, n in ipairs(peripheral.getNames()) do
local t = peripheral.getType(n)
if t == "cm_generator" then local g = peripheral.wrap(n)
print(n, g.kind(), g.active(), g.stress() .. "SU", g.rpm() .. "rpm")
elseif t == "cm_meter" then local m = peripheral.wrap(n)
print(n, m.gaugeType(), m.stressUsed() .. "/" .. m.capacity() .. "SU", math.floor(m.load()*100) .. "%")
end
end
Configuration
Generated at config/create_nue.json on first launch — every value is tunable (flow/head/biome curves, the
dam-coherence reward, the water tax, the full wind model, the per-wheel SU cap). Delete it to regenerate.
Building from source
Loom + Mojang mappings, compiled for Java 17 (runs on 17 or 21). The compile-time dependencies (Create,
Flowing Fluids, CC: Tweaked, and the fabric-api-lookup-api-v1 module) are not redistributed — drop
their jars into libs/, then:
./gradlew build # -> build/libs/create-nue-<version>.jar
Roadmap
NUE is an ongoing answer to "free, easy energy in Create is silly." Generation is being deepened while
RF/electricity and storage stay a normal progression tier — the aim is to make a huge hydro dam the most
rewarding way to make electricity, with water wheels and windmills as the mechanical base the whole energy
economy is built on. Planned: a profitable-generation economy hook, pumped-hydro storage, seasonal
water/wind, and richer ComputerCraft telemetry.
Contributing
Build, architecture, mixin conventions, localization, and the release process are documented in
AGENTS.md. Translations and PRs welcome.
License
MIT. Contributions and forks welcome.
评论 0
登录后参与评分
还没有评论,来抢沙发吧