
CC: Battery
СС: Tweaked now requires FE energy to use computers. СС: Tweaked теперь требует энергии FE для работы компьютеров.
- Загрузки
- 215
- Подписчики
- 3
- Обновлён
- 12 августа 2026 г.
- Лицензия
- All-Rights-Reserved
Опубликован 2 июля 2025 г.
CC: Battery
Forge Energy (FE) for CC: Tweaked.
NeoForge
English
Computers, turtles and pocket PCs need FE to run.
Required
- NeoForge 21.1+
- CC: Tweaked 1.114+
Optional
- Create — Ponder, goggles, wrench
- Create Crafts & Additions — alternator Ponder scene
- Sophisticated Backpacks — pocket PCs draw FE from backpack batteries
Features
- Stationary PCs — capacitor + optional UPS battery; FE cable I/O; auto-reboot after brownout
- Batteries — copper → netherite (8k … 2M FE); placeable as decor
- Chargers — one per tier; charge batteries or pocket PCs; no internal buffer
- Turtles — battery only; charge on a Turtle Dock (FE into the dock)
- Pockets — battery via inventory tooltip slot; Soft Backpacks FE if present
- Lua —
battery/require("cc_battery"): energy, capacity, percent, tier, dock finders
Lua
local battery = require("cc_battery")
print(battery.getEnergy(), battery.getCapacity(), battery.getPercent())
print(battery.hasBattery(), battery.getTier())
-- turtles: isDocked(), findDocks(), findNearestDock()
Config: config/cc_battery-common.toml
Русский
Компьютеры, черепахи и карманные ПК работают от FE.
Обязательно
- NeoForge 21.1+
- CC: Tweaked 1.114+
Опционально
- Create — Ponder, очки, ключ
- Create Crafts & Additions — сцена с генератором
- Sophisticated Backpacks — карман берёт FE из рюкзаков
Возможности
- Стационарные ПК — конденсатор + ИБП; кабели FE; автозапуск после отключения
- Аккумуляторы — медь → незерит (8k … 2M FE); можно поставить как декор
- Зарядки — по тирам; заряжают АКБ и карманы; без внутреннего буфера
- Черепахи — только АКБ; зарядка на доке (FE подаётся в док)
- Карманы — батарея через слот в подсказке инвентаря; FE из Soft Backpacks
- Lua —
battery/require("cc_battery"): энергия, ёмкость, %, тир, поиск доков
Lua
local battery = require("cc_battery")
print(battery.getEnergy(), battery.getCapacity(), battery.getPercent())
print(battery.hasBattery(), battery.getTier())
-- черепахи: isDocked(), findDocks(), findNearestDock()
Конфиг: config/cc_battery-common.toml
Ченджлог
1.2.0Релиз1.21.1 · 12 августа 2026 г.
[1.2.0] — 2026-08-13
Добавлено
- Внутренний FE-буфер (1000 FE) в зарядном устройстве для батарей. Теперь зарядное устройство всегда предоставляет energy storage capability, что обеспечивает совместимость с Create: Power Grid — разъём устройства больше не отваливается при извлечении батареи. Буфер переливается в установленную батарею каждый тик.
- Bundle-like взаимодействие ПКМ для карманных компьютеров и батарей:
- ПКМ батареей по слоту с карманным компьютером — вставить/заменить АКБ;
- ПКМ по слоту с компом с пустым курсором — вытащить АКБ на курсор;
- ПКМ зажатым компьютером по пустому слоту — вытащить АКБ из него;
- ПКМ зажатым компьютером по слоту с батареей — вставить батарею в комп. Это решает проблему, когда всплывающая подсказка закрывала слот и мешала вставить батарею в портативный компьютер.
Исправлено
- Краш без установленного мода Create.
PlacedBatteryBlockEntityбольше не реализуетIHaveGoggleInformationнапрямую — goggles-подсказка добавляется только через soft-миксин, который загружается при наличии Create. Раньше при отсутствии Create мод падал сNoClassDefFoundError: IHaveGoggleInformationво времяRegisterEvent.
[1.2.0] — 2026-08-13
Added
- Internal FE buffer (1000 FE) in the battery charger. The charger now always exposes an energy storage capability, which ensures compatibility with Create: Power Grid — the device connector no longer breaks when the battery is removed. The buffer is drained into the installed battery every tick.
- Bundle-like right-click interaction for pocket computers and batteries:
- Right-click a battery onto a pocket computer slot — insert/swap the battery;
- Right-click a pocket computer slot with an empty cursor — extract the battery to the cursor;
- Right-click an empty slot while holding a pocket computer — extract its battery;
- Right-click a battery slot while holding a pocket computer — insert that battery into the computer. This fixes the issue where the tooltip overlay covered the slot and prevented inserting a battery into a pocket computer.
Fixed
- Crash without the Create mod installed.
PlacedBatteryBlockEntityno longer directly implementsIHaveGoggleInformation— the goggles tooltip is now added only via a soft mixin that loads when Create is present. Previously, without Create, the mod crashed withNoClassDefFoundError: IHaveGoggleInformationduringRegisterEvent.
Комментарии
Загружаем…