Skip to content

Releases

[SI] SingularityIteration-0.1.10.29-beta

Choose a tag to compare

@2132937983 2132937983 released this 27 Oct 04:45
27c690e

0.1.10.29

基于 0.1.10.28。游戏内测试的五项反馈:蓝波顿配方、方块切割机的木材、交易面板的数字输入、货币账户、最低价批量出售。新规则先作为纯类在离线测试 Harness1129 中与旧做法比较。详细说明见 docs/releases/0.1.10.29/UPDATE.md。

  • 配方:量子头盔 / 胸甲 / 护腿 / 靴子、MFSU 升级组件与物质生成机使用“蓝波顿水晶”,不再使用“蓝波顿水晶充电电池”(IC2 1.12.2 shaped_recipes.ini),图案与产物不变。
  • 方块切割机(WoodPlanks):木材配方(新字段 "wood": true)按原木自己的木板合成配方给出木板,数量为合成台的 1.5 倍(原木 6 块、竹块 3 块);logs_to_planks 接受 #minecraft:logs、#minecraft:bamboo_blocks、#c:stripped_logs。原版 1.21.1 的全部木材、SI 的橡胶木与有木板配方的模组木材都切成各自的木板(之前一律为橡木木板)。JEI / EMI 按木材分别显示。
  • 数字输入(NumberBox,游戏内未重现):点击选中数字、位数容纳上限并立即显示上限、全角数字、滚轮与方向键、+/− 保持焦点、窗口大小改变时保留数值;原因为位数满时键入被丢弃(期货数量“16”后键入 100 → “1610”)与按钮夺走焦点。刷新请求改用单独的速率限制并对出售箱的变化去抖动:离线随机会话中被丢弃的操作 2.492% → 0,刷新请求 −27.7%;被丢弃时提示。
  • 货币账户(CoinAccount):邮箱货币作为账户,购买、买单、委托与期货保证金从物品栏与账户合计支付(之前单笔最多为物品栏能容纳的 359,964 枚),银行模式下收入进入账户、支付优先用账户;“订单与邮箱”页可存入 / 取出,大宗结算的容器货币可存入账户。
  • 最低价批量出售(MinPrice、SellDepth.maxForItemPrice):出售箱、大宗结算、交易终端的订单与结算、下单面板的卖单可设最低单价(货币或无卖压买价的百分比),一次求出每件价格不低于最低价的最大数量并一次支付;面板按服务器发送的曲线本地预览。判断改为“每件自身的价格”:旧规则下 28.7% 的出售最后一件低于限价(最多少卖 1 件)。
  • 交易终端缓冲区页的“卸出”按钮自 0.1.10.27 起被“输出模式”按钮覆盖,已重新排列。语言 tools/lang_1129.py(39 个键);指南 tools/data_1129.py;新检查 check_1129.py;离线测试 Harness1129(29 项);GameTests Round1129GameTests(6 项,未运行)。

0.1.10.28

基于 0.1.10.27。交易所设计方案的最后阶段 X4:货币与 UU 物质交易板、ID 卡、废料回收、自动稳定器,交易所改版完结。四项规则先作为纯类在离线测试 Harness1128 中测量。详细说明见 docs/releases/0.1.10.28/UPDATE.md。

  • 货币与 UU 物质交易板(UuBoard):新市场“UU 物质(每份 100 mB)”,玩家之间以订单簿用 UU 账户中的 UU 物质交易货币(卖单冻结账户中的份数,成交后进入买方账户,手续费 1% 销毁)。市场本身从不买卖 UU 物质,不会成为“EU → UU → 货币”的发行来源。离线 50,000 个随机订单:货币与手续费合计守恒,UU 物质精确守恒。
  • ID 卡(IdCardRules / IdCards):新物品,服务器以世界密钥对全部字段做 SHA-256 签名,只对持有人有效。个人卡在任何地方打开交易所账户(邮箱、挂单与拍卖订单的撤回,退款进入邮箱);交易终端所有者在新的“ID 卡”页写入委任卡(查看 / 交易 / 设置,1~30 天,最多 16 张),持有人在其所有终端获得该权限,可随时吊销。
  • 废料回收(ScrapRules / ScrapSink):立即出售可选“其余回收为废料”,出售所得货币不变,剩下且出价低于 max(1 货币, 5%) 的物品按 SI 回收机的比率(废料 1/8 或回收机配方)回收;交易终端新增“其余回收”模式。方案中“只付到 5% 为止”的做法因可分两次出售绕过而未采用。
  • 自动稳定器(Stabilizer,默认关闭):7 天净发行超过目标(每名活跃卖家每周 100,000,或货币总量的 2%,取较大者)时,卖出深度与每日额度每天缩小 5%(最低 0.5),低于目标的 80% 时恢复。离线一年:普通服务器不动作;自动化服务器每名卖家每周净发行 117,149 → 91,304,普通卖家保留 93.3%,大量卖家 73.5%。只按货币总量比例的目标会让普通服务器几乎全年处于最低系数,未采用。
  • 新配置 7 项(uuBoard、scrapThreshold、stabilizer*);语言 tools/lang_1128.py(82 个键);资源与指南 tools/data_1128.py;新检查 check_1128.py;离线测试 Harness1128(34 项);GameTests Round1128GameTests(5 项,未运行)。

0.1.10.27

基于 0.1.10.26。交易所设计方案的第三阶段 X2:交易终端与大宗结算槽。自动交易的规则先在离线测试 Harness1127 中与手动交易比较。详细说明见 docs/releases/0.1.10.27/UPDATE.md。

  • 交易终端(新方块):放置者为所有者;权限列表(查看 / 交易 / 设置,最多 16 人)、所有者队伍成员的等级、管理员视为设置,只有所有者编辑权限。出售缓冲区 27 格(管道与漏斗放入商品,不能取出)、输出缓冲区 9 格(输出模式开启时放入购买的物品,管道可取出;关闭时进入所有者邮箱)。常设订单最多 8 个,每 200 tick 运行:卖出保留 N 个后交给每日集中清算或立即出售,买入补到目标库存(用所有者邮箱的货币)。所有交易计入所有者的 UUID,与手动交易使用同一组函数(卖出深度、价值上限、账本);所有者离线时只运行集中清算(需要解锁的商品等待)。立即出售与买入凑满 64 件再成交:管道每次只送 1 个时,价格 8 的商品取整损失 24.9% → 0.7%,买入多付 9.22% → 0.12%。按终端分别计算深度时 2 / 8 台会多得 66% / 226%,集中清算分成 25 个订单会多得 203%,因此都按所有者合并。拆除时缓冲区进入所有者邮箱。终端也推进交易日(MarketDayDriver,由期货机移出)。
  • 大宗结算槽(期货机面板第 8 页、交易终端第 5 页):放入潜影盒、背包(物品处理器能力)、AE2 存储元件或装有 UU 物质的容器(含 AE2 流体元件),批量报价、立即出售或交给集中清算、向悬赏与委托交付、UU 物质存入账户、购买的物品直接放入容器;终端另可装入出售缓冲区、卸出输出缓冲区。AE2 为可选联动(反射创建,未安装时不加载)。
  • 代码:place 的撮合移到 execute / marketBuy(规则不变),新增账户交易 sellForAccount / buyForAccount、交付的物品来源 ItemSource。语言 tools/lang_1127.py(136 个键),指南新页《交易终端》,资源 tools/data_1127.py / tex_1127.py;新检查 check_1127.py;离线测试 Harness1127(39 项);GameTests Round1127GameTests(6 项,未运行)。

0.1.10.29

Based on 0.1.10.28. Five pieces of feedback from in-game testing: Lapotron recipes, Block Cutting Machine wood, trade panel number input, currency accounts, and minimum-price batch selling. The new rules were first compared against the old approach as pure classes in the offline test Harness1129. See docs/releases/0.1.10.29/UPDATE.md for details.

  • Recipes: Quantum Helmet / Chestplate / Leggings / Boots, MFSU Upgrade Kit, and Mass Fabricator now use "Lapotron Crystal" instead of "Charged Lapotron Crystal" (IC2 1.12.2 shaped_recipes.ini); patterns and outputs remain unchanged.
  • Block Cutting Machine (WoodPlanks): Wood recipes (new field "wood": true) output planks based on the log's own plank crafting recipe, with a quantity 1.5x that of the crafting table (6 for logs, 3 for bamboo blocks); logs_to_planks accepts #minecraft:logs, #minecraft:bamboo_blocks, #c:stripped_logs. All vanilla 1.21.1 wood types, SI's rubber wood, and modded wood with plank recipes are cut into their respective planks (previously they all output Oak Planks). JEI / EMI display them separately by wood type.
  • Number Input (NumberBox, not reproduced in-game): Click to select the number, digit limit capacity and immediately displays the limit, full-width numbers, scroll wheel and arrow keys, +/− retains focus, preserves value on window resize; the cause was input being discarded when the digit limit was reached (typing 100 after "16" in the Futures quantity resulted in "1610") and buttons stealing focus. Refresh requests now use a separate rate limit and debounce sell box changes: offline random sessions dropped operations 2.492% → 0, refresh requests −27.7%; a notification is shown when dropped.
  • Currency Account (CoinAccount): Mailbox currency acts as an account; purchases, buy orders, commissions, and futures margin are paid from the combined inventory and account (previously a single transaction was limited to the 359,964 items the inventory could hold). In Bank mode, income goes into the account and payments prioritize the account; the "Orders and Mailbox" page allows deposits / withdrawals, and container currency from bulk settlements can be deposited into the account.
  • Minimum-Price Batch Selling (MinPrice, SellDepth.maxForItemPrice): Sell boxes, bulk settlements, Trade Terminal orders and settlements, and order panel sell orders can set a minimum unit price (currency or percentage of the buy price without sell pressure), calculating the maximum quantity where each item's price is not below the minimum and paying out in one go; the panel previews locally based on the curve sent by the server. The check changed to "each item's own price": under the old rule, 28.7% of sells had the last item below the limit price (selling at most 1 fewer item).
  • The "Eject" button on the Trade Terminal buffer page has been covered by the "Output Mode" button since 0.1.10.27 and has been rearranged. Language tools/lang_1129.py (39 keys); Guide tools/data_1129.py; new check check_1129.py; offline test Harness1129 (29 items); GameTests Round1129GameTests (6 items, not run).

0.1.10.28

Based on 0.1.10.27. Final phase X4 of the Exchange Design Plan: Currency and UU Matter Trading Board, ID Cards, Scrap Recycling, Auto Stabilizer, completing the Exchange overhaul. The four rules were first measured as pure classes in the offline test Harness1128. See docs/releases/0.1.10.28/UPDATE.md for details.

  • Currency and UU Matter Trading Board (UuBoard): New market "UU Matter (100 mB each)", where players trade currency for UU Matter from their UU account via an order book (sell orders freeze the quantity in the account, which enters the buyer's account upon execution, with a 1% fee destroyed). The market itself never buys or sells UU Matter and will not become an issuance source for "EU → UU → Currency". Offline 50,000 random orders: currency and fees are conserved in total, UU Matter is exactly conserved.
  • ID Cards (IdCardRules / IdCards): New items, the server signs all fields with a world key using SHA-256, valid only for the holder. Personal cards open the exchange account anywhere (mailbox, withdrawal of limit orders and auction orders, refunds go to the mailbox); Trade Terminal owners can write delegation cards on the new "ID Cards" page (View / Trade / Settings, 1~30 days, up to 16 cards), granting the holder that permission on all their terminals, revocable at any time.
  • Scrap Recycling (ScrapRules / ScrapSink): Immediate selling can optionally "recycle the rest as scrap", the currency earned from the sale is unchanged, and remaining items with a bid price below max(1 currency, 5%) are recycled at the SI Recycler's ratio (1/8 scrap or recycler recipe); the Trade Terminal adds a "Recycle Rest" mode. The proposal to "only pay up to 5%" was not adopted because it could be bypassed by selling in two batches.
  • Auto Stabilizer (Stabilizer, default off): When 7-day net issuance exceeds the target (100,000 per active seller per week, or 2% of total currency, whichever is larger), sell depth and daily quotas shrink by 5% per day (minimum 0.5), recovering when below 80% of the target. Offline one year: normal servers do nothing; automated servers have net issuance per seller per week 117,149 → 91,304, normal sellers retain 93.3%, high-volume sellers 73.5%. A target based solely on total currency percentage would put normal servers at the minimum coefficient almost all year, so it was not adopted.
  • 7 new configs (uuBoard, scrapThreshold, stabilizer*); language tools/lang_1128.py (82 keys); assets and guide tools/data_1128.py; new check check_1128.py; offline test Harness1128 (34 items); GameTests Round1128GameTests (5 items, not run).

0.1.10.27

Based on 0.1.10.26. Phase 3 X2 of the Exchange Design Plan: Trade Terminal and Bulk Settlement Slots. Automated trading rules were first compared against manual trading in the offline test Harness1127. See docs/releases/0.1.10.27/UPDATE.md for details.

  • Trade Terminal (new block): The placer is the owner; permission list (View / Trade / Settings, up to 16 people), owner's team member levels, operators are treated as Settings, only the owner can edit permissions. Sell buffer 27 slots (pipes and hoppers insert goods, cannot extract), output buffer 9 slots (when Output Mode is on, purchased items are placed here and pipes can extract; when off, they go to the owner's mailbox). Up to 8 standing orders, running every 200 ticks: sell down to N rema...
Read more

[SI] SingularityIteration-0.1.10.26-beta

Choose a tag to compare

@2132937983 2132937983 released this 26 Oct 15:39
aef2777

0.1.10.26

基于 0.1.10.25。交易所设计方案的第二阶段 X3:系统悬赏三个等级、国库与宝库循环、每周上限的发行、si_exchange 数据包、Java API 与事件。新规则先在离线测试 Harness1126 中与 0.1.10.25 的市场委托比较。详细说明见 docs/releases/0.1.10.26/UPDATE.md。

  • 系统悬赏(BountyBoard):普通(每天保持 3~5 件,市场缺少的商品,价值 4,000 × 0.5~1.5,3 天,奖励 1.15 倍)、高级(每周 2~3 件,数据包中的成套物资,7 天,1.3 倍,多人游戏中最后一天之前一人最多 50%)、特别(每天 5%,稀有物品,7 天)。取代每天 3 件、全部以新货币支付的市场委托(存档中的旧委托保留到到期,配置 systemCommissionsPerDay 删除)。离线一年:每周发行的货币 708,416 → 146,761,单件最大货币奖励 1,212,928 → 45,427,委托价值中位数 4,120 → 4,429。
  • 奖励来源:国库库存(发布时预留)、宝库(交付给悬赏的稀有物品,之后作为奖励发出)、制作(每周上限:高级 16 个、特别 1 个、UU 物质 4,000 mB,发布时计入)、货币(支付时发行)。无法支付时普通与高级改为货币,特别不发布;到期时未支付的预留退回。悬赏需要的商品市场不出售。交付按比例立即支付(first)或完成 / 到期时按贡献分配(contribution,最大余数法)。
  • 期货机面板第 7 页“悬赏”(交付、奖励来源、份额、本周的发行余量与宝库);指南《期货交易机》三语更新;/mio_icif bounty list / tables / post / cancel / errors / settings(权限 2)。
  • 数据包 data/<命名空间>/si_exchange/:bounties、rewards、listings(开服即上市、不下市)、economy.json(配置中修改过的值 > 数据包 > 默认值)、commodities(si_futures 格式)。商品新字段 tag、accept_components(出售箱与集中清算)。默认内容:高级 7、特别 4、普通 3 个表,三个奖励池。文档 docs/datapacks/si_exchange.md。
  • 公共 API 只增不改:core.api.exchange(ExchangeApi、BountySpec 等与事件 MarketDayEvent、ExchangeTradeEvent、BountyPostingEvent、BountyCompletedEvent);API 指南第 22 节。
  • 新配置 20 项(bounty*);语言 tools/lang_1126.py;新检查 check_1126.py;离线测试 Harness1126(31 项);GameTests Round1126GameTests(7 项,未运行)。

0.1.10.25

基于 0.1.10.24。交易所设计方案(Q1~Q8 按推荐批准)的第一阶段 X1:买卖额度分离、两级卖出深度、每日集中清算、出售箱、管理命令、工业品。每项先在离线测试中与 0.1.10.24 的规则比较,只采用确认有改进的部分。详细说明见 docs/releases/0.1.10.25/UPDATE.md。

  • 买卖额度分离与两级卖出深度:取消每名玩家每天 100 个(买卖合计)与每种商品每天 256 个的收购预算。买入改为单独的设置 buyItemsPerDay(默认 0 = 不限,由国库库存与进口限制)。卖出没有数量上限,买价按“自己今天卖出的量”(个人深度 sellDepthPlayer 256)与“所有人卖出且尚未转出的卖压”(服务器深度 sellDepthServer 1024,每天转出 sellExportPerDay 50%)连续下降(SellDepth)。离线(铁锭,价格 200):16 / 64 个得到之前的 97% / 89%,1,000 个由之前只能卖 100 个的 18,263 变为全部卖出 39,430;一名玩家每天最多 39,731,所有玩家(任意数量的账号)第一天最多 198,656、之后每天约 47,808(之前每天 42,214)。服务器深度未采用方案的 2,048(每天约 92,288)。
  • 每日集中清算:出售可以交给集中清算,在交易日更替时与所有人的一起出售。每人的个人深度只作用于自己的数量,服务器深度作用于总量;单独出售时与立即出售所得相同,结果与提交顺序无关,可设最低平均价(百分比)。五人各卖 1,000 个铁锭:依次立即出售 39,430 → 793,集中清算各 22,069。方案中“所有人同一单价”未采用(一人 1,000 个可得 123,841,绕过个人深度)。
  • 价值上限:多人游戏中市场每天最多付给每名玩家 50,000 货币的卖出所得(sellAllowancePerDay,未用完的最多保留 3 天),单人游戏默认不启用;玩家之间的交易不计入。
  • 出售箱:期货机面板新增第 6 页“出售”:18 格出售箱(Shift 点击,“放入”放入快捷栏以外所有可出售的物品;改名、附魔、损坏的物品不接受),每行显示立即出售与集中清算的所得,可立即出售或交给集中清算,列出自己的清算订单并可撤回;关闭面板时箱中物品退回。订单的数量上限 1,024 → 100,000(期货仍为 1,024)。卖单先与不低于市场买价的玩家买单成交,再卖给市场,最后与其余买单成交到限价。
  • 管理命令(权限 2):/mio_icif market simulate <物品> <数量> [玩家]、arbitrage [条数]、calibrate、ledger [天数]。
  • 工业品与套利审计:新类别“工业品”(si_futures/industrial.json,11 种:锡、青铜、铅、银、精炼铁、橡胶、电路板、高级电路板、高级合金、碳板、铱);数据包商品可设置 depth、export_per_day、import_per_day、import_premium。审计(ArbitrageAudit)在 0.1.10.24 的配方中发现 38 种会自我增殖的物品,修正两个配方后为 0:空锡罐 → 锡粉改为 2 个对 1 个(IC2 1.12.2),石英楼梯 → 石英 6 → 4。原矿(铁、铜、金)不再进口,曲奇 20 → 11。GameTests:Round1125GameTests(9 项)。检查工具 check_1125.py,离线测试 verify-si1125(45 项)。

0.1.10.24

基于 0.1.10.23。玩家报告与素材更新共 3 项。详细说明见 docs/releases/0.1.10.24/UPDATE.md。

  • 发酵机的热量(对齐 IC2 1.12.2 TileEntityFermenter.work(),按 IC2 2.8.222-ex112 的字节码核对):只在能开始一次运行的 tick 吸收热量(输入罐有一次运行的生物质、沼气罐有一次运行的空间),热源推入与本机抽取合计每 tick 最多 100 HU(FermenterHeatIntake)。此前 4000 HU 的储热在没有生物质或沼气罐已满时也会吸满(离线:空转 1 分钟吸收 4,000 HU,沼气罐满时多吸 4,000 HU),热源为此消耗燃料,之后的最初几次运行快于热源。热量条改为本次运行已获得的热量(IC2 的转换进度),工作灯不再因残留热量而常亮。稳定运行时每分钟的运行次数、沼气与肥料此前已与 IC2 一致,配方数值(20 mB → 400 mB、4000 HU、每 500 mB 一个肥料)与 IC2 1.12.2 相同,未改;IC2 1.7.10 的默认值(10 mB → 200 mB、8000 HU)未采用。
  • 全屏面板与 JEI / EMI:期货机界面的 leftPos 停在屏幕宽度的一半,JEI 把左半屏当作空闲区域显示书签并抢走点击。期货机与电网监控面板现向 JEI(GUI 额外区域)和 EMI(排除区域)声明整个窗口;EMI 也避开机器界面左侧的工具栏(与 JEI 相同)。
  • 素材:用户的 11 个工具与武器 3D 模型及其纹理(等离子空气炮使用较新的文件)、43 张纹理与 2 个动画文件(量子核心为新动画)。65 处模型元素旋转(±30 度、双轴等,1.21.1 不加载)改为最近的允许角度。移除内置资源包「实验性风格」(resourcepacks/si_experimental,680 个文件)、AppearanceStyle 与装备控制台“外观”页的风格卡片,该页第一页改为“装甲”(护手覆盖、框架核心外装)。GameTests:Round1124GameTests(3 项)。检查工具 check_1124.py,离线测试 verify-si1124(64 项)。

0.1.10.23

基于 0.1.10.22。核心系统改进方案第二阶段之三:行为预测 P2、P4~P7。每项先离线与旧做法逐项比较,只采用确认有改进的部分。详细说明见 docs/releases/0.1.10.23/UPDATE.md。

  • 诱导弹转向律(P4):比例导引不加重力补偿时比纯追踪多转约 7%;加上重力补偿后,满弓箭在同等命中率下每发少转约 1 度(预测诱导协同的 APN 少转 1.4 度)。仅对发射速度 ≥ 2.0 格/tick 且有重力的弹采用;低速弹、无重力弹,以及(无协同时)对飞行目标保持之前的纯追踪,因为那些情况下比例导引没有更好。
  • 运动模型与数据链(P2):预测路径按游戏的移动规则计算(方块滑度、水中阻力、走上半砖、跳上一格台阶、掉落、被击退后的滑行、追击者在面前停下);离线 1 秒路径误差:半砖 3.77 → 0.03 格,走入水中 1.28 → 0.67,被击退 2.78 → 0.95。行为预测器 Mk.II 接收 8 个生物的寻路节点(新数据包 suit_path_nodes),沿转角的路径误差 4.04 → 1.36。
  • 锁定保持(P5):锁定的目标躲到遮挡物后时保持锁定(Mk.I 1 秒、Mk.II 2 秒),在预测位置附近重新出现即恢复,传送的目标不会被误认。远处不构成威胁的生物每 4 tick 更新路径(计算量 63%,之字形行走者的路径偏差 0.18 → 0.58 格)。
  • 优先级与分配(P6):行为预测器显示最危险的三个生物 #1~#3;诱导弹由轮流改为按“优先级 × 命中概率 × 剩余生命份额”贪心分配(扣除飞行中的弹)。离线:每轮击杀 0.51 → 1.00,每次击杀的过量伤害 5.25 → 6.03。
  • 来袭弹警告与攻击倒计时(P7):威胁传感器显示来袭的箭与火球的方向、秒数与闪避方向(离线:警告命中的准确率 98.6%,按闪避方向躲开 77%,随机方向 44%);行为预测器的攻击标记显示倒计时(拉弓、装填、蓄力、膨胀、学习的近战间隔)。GameTests:Round1123GameTests(6 项)。检查工具 check_1123.py,离线测试 verify-si1123(127 项)。

0.1.10.26

Based on 0.1.10.25. Phase 2 X3 of the Exchange Design Plan: three tiers of system bounties, Treasury and Vault circulation, weekly issuance caps, the si_exchange datapack, Java API, and events. The new rules were first compared against the 0.1.10.25 market commissions in the offline test Harness1126. See docs/releases/0.1.10.26/UPDATE.md for details.

  • System Bounties (BountyBoard): Normal (maintains 35 items daily, items lacking in the market, value 4,000 × 0.51.5, 3 days, 1.15x reward), Advanced (2~3 items weekly, item sets from datapacks, 7 days, 1.3x reward, in multiplayer a single player can contribute at most 50% before the final day), Special (5% daily, rare items, 7 days). Replaces the 3 daily market commissions paid entirely in newly issued currency (old commissions in saves remain until expiry, config systemCommissionsPerDay removed). Offline one-year simulation: weekly currency issuance 708,416 → 146,761, single maximum currency reward 1,212,928 → 45,427, median commission value 4,120 → 4,429.
  • Reward Sources: Treasury stock (reserved at posting), Vault (rare items delivered to bounties, later distributed as rewards), Crafting (weekly caps: Advanced 16, Special 1, UU Matter 4,000 mB, counted at posting), Currency (issued upon payment). If payment is impossible, Normal and Advanced convert to currency, while Special is not posted; unpaid reservations are refunded upon expiry. Items required by bounties are not sold by the market. Delivery pays immediately proportional to contribution (first), or distributes proportionally upon completion / expiry (contribution, Largest Remainder Method).
  • Futures Machine Panel Page 7 "Bounties" (delivery, reward sources, shares, remaining issuance this week, and Vault); Guide "Futures Trading Machine" updated in three languages; /mio_icif bounty list / tables / post / cancel / errors / settings (permission 2).
  • Datapack data/<namespace>/si_exchange/: bounties, rewards, listings (listed on server start, never delisted), economy.json (modified values in config > datapack > default), commodities (si_futures format). New commodity fields tag, accept_components (sell box and centralized clearing). Default contents: Advanced 7, Special 4, Normal 3 tables, three reward pools. Documentation docs/datapacks/si_exchange.md.
  • Public API is additive only: core.api.exchange (ExchangeApi, BountySpec, etc., and events MarketDayEvent, ExchangeTradeEvent, BountyPostingEvent, BountyCompletedEvent); API Guide Section 22.
  • 20 new configs (bounty*); language tools/lang_1126.py; new check check_1126.py; offline test Harness1126 (31 items); GameTests Round1126GameTests (7 items, not run).

0.1.10.25

Based on 0.1.10.24. Phase 1 X1 of the Exchange Design Plan (Q1~Q8 approved as recommended): separation of buy/sell quotas, two-tier sell depth, daily centralized clearing, sell box, admin commands, industrial goods. Each item was first compared against the 0.1.10.24 rules in offline tests, and only confirmed improvements were adopted. See docs/releases/0.1.10.25/UPDATE.md for details.

  • Separation of Buy/Sell Quotas and Two-Tier Sell Depth: Removed the previous daily caps of 100 items per player (buy + sell combined) and a 256-item buy budget per commodity. Buying now uses a separate setting buyItemsPerDay (default 0 = unlimited, limited by treasury stock and imports). Selling has no quantity cap; the buy price decreases continuously based on "your own amount sold today" (personal depth sellDepthPlayer 256) and "total sell pressure from all players not yet exported" (server depth sellDepthServer 1024, exporting sellExportPerDay 50% daily) (SellDepth). Offline (Iron Ingot, price 200): 16 / 64 items yield 97% / 89% of the previous price; 1,000 items went from 18,263 (previously capped at 100) to 39,430 for selling everything; a single player makes at most 39,731 daily, and all players (any number of accounts) make at most 198,656 on the first day and about 47,808 daily thereafter (previously 42,214 daily). The rejected server depth of 2,048 (about 92,288 daily) was not adopted.
  • Daily Centralized Clearing: Sales can be submitted to centralized clearing, sold together with everyone else's at the daily rollover. Personal depth applies only to your own quantity, server depth applies to the total; selling individually yields the same as immediate selling, results are independent of submission order, and a minimum average price (percentage) can be set. Five players each selling 1,000 Iron Ingots: immediate selling sequentially 39,430 → 793, centralized clearing 22,069 each. The proposal for "everyone same unit price" was not adopted (one person could get 123,841 for 1,000 items, bypassing personal depth).
  • Value Cap: In multiplayer, the market pays at most 50,000 currency per player per day for sales (sellAllowancePerDay, unused amounts retained for up to 3 days), disabled by default in singleplayer; player-to-player trades do not count.
  • S...
Read more

[SI] SingularityIteration-0.1.10.22-beta

Choose a tag to compare

@2132937983 2132937983 released this 26 Oct 06:23
48a857e

0.1.10.22

基于 0.1.10.21。核心系统改进方案第二阶段之二:电网 G3、G4、G5、G7(G6 为可选项,未实施)。详细说明见 docs/releases/0.1.10.22/UPDATE.md。

  • 经济次序(G3):发电机分为必须运行(太阳能、风力、水力、核能等)与可调度(燃料、地热、半流体、柴油、斯特林、经验、掉落物发电机)。新配置 EnergyNet.dispatchMode:merit(默认:必须运行 → 燃料 → 储能,燃料仍为储能充电)、economic(必须运行 → 储能 → 燃料,燃料不为储能充电)、rotation(之前的轮流)。此前燃料发电机与太阳能轮流供电,太阳能的余量直接损失。离线模拟 20 个昼夜:燃料消耗 2,939,488 → 2,006,480(merit)→ 1,340,000 EU(economic,理论最小)。新公共 API DispatchClass / IGridDispatch。
  • 负荷优先级(G4):用电器与储能可设为重要 / 普通 / 可延后(新公共 API LoadPriority / ILoadPriority,AbstractEnergyBlockEntity 保存)。公平分配按优先级依次满足,电力不足时先停可延后的负荷,最后才停重要负荷。全部为普通时分配与之前完全相同(20,000 个随机轮逐项比较)。
  • 断路器与保险丝(G5):新方块 EU断路器导线与 EU保险丝导线。反时限过载(2 倍额定时经过设定延时)、10 倍短路即时、超过额定电压即时断开;电压保护在施加过电压效果之前判定,后方导线与机器不受损。断路器 3 秒后自动重合,连续第 4 次跳闸闭锁;保险丝一次性,用新的保险丝右击恢复。空手右击打开设置界面。
  • 电网监控面板(G7):能源管理终端的“面板”按钮打开全屏面板:概览(供电按电源类别、重要负荷缺口、本网络的引擎耗时)、单线系统图、设备(设置优先级)、保护(断路器状态与复位、警报记录)。GameTests:Round1122GameTests(5 项)。检查工具 check_1122.py,离线测试 verify-si1122(40 项)。

0.1.10.21

基于 0.1.10.20。核心系统改进方案第二阶段之一:期货交易所 M2~M5。详细说明见 docs/releases/0.1.10.21/UPDATE.md。

  • 国库(M2):市场收购的物品进入国库,市场只出售国库库存与每天少量的进口(importPerDay 默认 64 个,加价 importPremium 10%);此前市场无限出售,暴跌后买入、回升后卖出的利润只受每日上限限制。市场为库存不足的货品发布委托(systemCommissionsPerDay 默认 3 个,报酬为买入价的 1.15 倍,新发行),委托开放期间不出售该货品(否则从市场买入再交付即可套利)。账本按天记录发行与销毁的货币。服务器保留原来菜单的买入/卖出按钮编号,改为即时订单(先与玩家挂单成交);新界面使用下单面板。
  • 盘口与委托(M3):限价订单(即时或挂单 7 天),价格时间优先,同一玩家或队伍不成交,买单冻结货币、卖单冻结普通物品,成交价为挂单方价格,卖方手续费 exchangeFee(1%)销毁。邮箱保存离线成交所得、退款与放不下的物品。委托的报酬可以是货币(手续费 2%)、物品或 UU 物质(手续费 5 货币),托管、按比例支付、过期退还;不能交付自己的委托。UU 账户:从容器存入 UU 物质、取出到空容器。
  • 自动上市与货币区分(M3):7 天内 3 名不同委托人(游戏时间满 120 分钟)、3 个完成的委托、至少 2 名交付者时,物品上市为只在玩家之间交易的“玩家上市品”(单人:不同日期完成 3 个)。初值为货币单价的稳健中位数,限制在基本价值(UU 价值 × 校准的每桶货币价值)的 0.5~3 倍。合成深度达到 uuDepth(3)的物品以 UU 物质交易;深度由全部配方计算,只由配方循环产生的物品视为原料。30 天无成交下市。
  • 期货(M5):3 天或 7 天的现金结算合约,全额保证金,结算为保证金的 0~2 倍。合约价格由市场自身价格模型的蒙特卡罗模拟决定(当前事件、新事件、随机步与取整、调价周期;8,000 条路径,同日固定),多头加、空头减一半价差。最初按均值回归预测的远期价格定价时,离线测试中空头每 64 份期望 +165、上涨趋势中的多头 +8,640(情报物品会显示事件);新定价下两方期望均为负。价格模型移到 FuturePriceModel(机器行为不变)。
  • 数据面板(M4):期货机界面换成全屏数据面板,分为行情(自选列表、K 线与成交量、均线、基本价值、盘口深度、下单面板、最近成交)、委托、期货、挂单与邮箱、国库 5 页。每个操作由服务器重新检查(界面打开、8 格内、速率限制、每次成功操作消耗一次交易的 EU)。
  • 管理命令 /mio_icif market audit [组数]:交易所概况、7 天的发行与销毁、互相交易量最大的玩家组合。GameTests:Round1121GameTests(6 项)。检查工具 check_1121.py,离线测试 verify-si1121(55 项)。

0.1.10.22

Based on 0.1.10.21. Core system improvement plan phase 2 part 2: Power Grid G3, G4, G5, G7 (G6 was optional and not implemented). See docs/releases/0.1.10.22/UPDATE.md for details.

  • Economic Dispatch Order (G3): Generators are divided into "must-run" (solar, wind, hydro, nuclear, etc.) and "dispatchable" (fuel, geothermal, semi-fluid, diesel, Stirling, experience, loot generators). New config EnergyNet.dispatchMode: merit (default: must-run → fuel → energy storage, fuel still charges storage), economic (must-run → energy storage → fuel, fuel does not charge storage), rotation (previous round-robin). Previously fuel generators and solar took turns supplying power, and solar surplus was lost directly. Offline simulation of 20 day-night cycles: fuel consumption 2,939,488 → 2,006,480 (merit) → 1,340,000 EU (economic, theoretical minimum). New public API DispatchClass / IGridDispatch.
  • Load Priority (G4): Consumers and energy storage can be set to High / Normal / Deferrable (new public API LoadPriority / ILoadPriority, saved in AbstractEnergyBlockEntity). Fair allocation satisfies demands sequentially by priority; when power is insufficient, deferrable loads are stopped first, and high priority loads are stopped last. When all are Normal, allocation is exactly the same as before (compared item-by-item across 20,000 random rounds).
  • Breakers and Fuses (G5): New blocks EU Breaker Wire and EU Fuse Wire. Inverse-time overload (2x rated after a set delay), 10x short circuit instantaneous, instantaneous trip when exceeding rated voltage; voltage protection is judged before applying overvoltage effects, so downstream wires and machines are not damaged. Breakers auto-reclose after 3 seconds, locking out on the 4th consecutive trip; Fuses are one-time use, restored by right-clicking with a new fuse. Right-click empty-handed to open the settings UI.
  • Grid Monitoring Panel (G7): The "Panel" button on the Energy Management Terminal opens a fullscreen panel: Overview (power supply by source category, high-priority load deficit, engine time of this network), single-line system diagram, Devices (set priority), Protection (breaker status and reset, alarm records). GameTests: Round1122GameTests (5 items). Check tool check_1122.py, offline test verify-si1122 (40 items).

0.1.10.21

Based on 0.1.10.20. Core system improvement plan phase 2 part 1: Futures Exchange M2~M5. See docs/releases/0.1.10.21/UPDATE.md for details.

  • Treasury (M2): Items bought by the market enter the treasury; the market only sells treasury stock and a small daily import (importPerDay default 64, markup importPremium 10%); previously the market sold infinitely, and profit from buying after a crash and selling after a rebound was only limited by the daily cap. The market posts commissions for items with insufficient stock (systemCommissionsPerDay default 3, reward is 1.15x the buy price, newly issued); the item is not sold while a commission is open (otherwise arbitrage by buying from the market and delivering). The ledger records currency issued and destroyed per day. The server retains the original menu's buy/sell button IDs, changed to instant orders (match with player limit orders first); the new UI uses an order placement panel.
  • Order Book and Commissions (M3): Limit orders (instant or 7-day pending), price-time priority, no matching between the same player or team, buy orders freeze currency, sell orders freeze regular items, execution price is the order placer's price, seller fee exchangeFee (1%) destroyed. Mailbox saves offline trade proceeds, refunds, and items that didn't fit. Commission rewards can be currency (2% fee), items, or UU Matter (5 currency fee), escrowed, paid proportionally, refunded on expiry; cannot deliver to your own commission. UU Account: deposit UU Matter from containers, withdraw to empty containers.
  • Auto-Listing and Currency Distinction (M3): When 3 different clients (120 minutes of playtime) within 7 days, 3 completed commissions, and at least 2 deliverers, the item is listed as a "Player-Listed Item" traded only between players (Singleplayer: 3 completed on different days). Initial value is the robust median of currency unit price, clamped between 0.5~3x of the base value (UU value x calibrated currency value per bucket). Items with a crafting depth reaching uuDepth (3) are traded in UU Matter; depth is calculated from all recipes, and items produced only by recipe loops are considered raw materials. Delisted after 30 days without a trade.
  • Futures (M5): 3-day or 7-day cash-settled contracts, full margin, settlement between 0~2x the margin. Contract prices are determined by Monte Carlo simulation of the market's own price model (current events, new events, random steps and rounding, adjustment period; 8,000 paths, fixed for the same day), long adds and short subtracts half the spread. When originally priced using mean-reverting forward prices, offline tests showed shorts expected +165 per 64 contracts and longs +8,640 in an uptrend (intel items display events); under the new pricing, both sides have negative expectation. Price model moved to FuturePriceModel (machine behavior unchanged).
  • Data Panel (M4): The futures machine UI is replaced with a fullscreen data panel, divided into 5 pages: Market (watchlist, candlestick and volume, moving averages, base value, order book depth, order panel, recent trades), Commissions, Futures, Pending Orders and Mailbox, Treasury. Every operation is re-checked by the server (UI open, within 8 blocks, rate limit, each successful operation consumes one trade's EU).
  • Admin command /mio_icif market audit [count]: Exchange overview, 7-day issuance and destruction, player pairs with the highest mutual trading volume. GameTests: Round1121GameTests (6 items). Check tool check_1121.py, offline test verify-si1121 (55 items).

[SI] SingularityIteration-0.1.10.20-beta

Choose a tag to compare

@2132937983 2132937983 released this 25 Oct 12:58
f82b06c

0.1.10.20

基于 0.1.10.19。共 3 部分(核心系统改进方案的第一阶段:期货 M1、电网 G1/G2、火控 P1/P3/P8)。详细说明见 docs/releases/0.1.10.20/UPDATE.md。

  • 期货机(M1):每日交易上限此前是每台机器的计数,放置多台机器即可成倍突破,而且只有执行换日的那台机器会清零(其他机器停留在前一天的计数);现在按玩家(UUID)统计,全服所有期货机共享。市场此前按维度各自独立(下界、空间站等是另一个市场与另一份上限),现在全服一个市场(存于主世界);其他维度旧的市场数据不再读取。买卖价差:买入价 = 价格 × (1 + 价差/2),卖出价 = 价格 × (1 − 价差/2)(spread,默认 0.06),按整笔交易取整;此前买卖同价,价格回归可预测,低买高卖无风险。市场每日收购上限:每种货品全体玩家合计每天最多卖给市场 systemBuyPerDay 个(默认 256,0 为不限),额度用尽过程中卖价逐个下降,最多降 budgetPriceDrop(默认 30%);此前市场无限收购,农场可无限换钱。界面显示当前数量的买入价、卖出价与今日剩余收购量;交易失败时在动作栏显示原因(上限、货币或物品不足、电力不足、背包已满、市场已满)。打开界面时每 tick 写入机器并发送方块更新的金币缓存同步取消,金币与今日交易量按查看者显示。
  • 电网(G1,结果不变):导线快照此前是整个维度的一张图,任何位置放置或拆除一根导线都会对全维度所有导线重新排序建图(O(N log N)),并丢弃全维度的路由计划与路由搜索缓存。现在按连通块保存图:编辑只重建包含被编辑位置及其相邻位置的连通块,其他连通块保留图与路由搜索缓存。离线测试:10 万根导线、50 个基地,一次编辑后的快照重建 182 ms → 约 2 ms;40 个随机网络、6,008 个快照与旧实现逐项比较(包含路径顺序与等价路径的选择)全部一致。
  • 电网(G2,结果不变):公平分配模式下,窗口的分配输入(各源预算、包大小、类别;各接收方空间、额定输入、类别、中继需求;共享储能;线损模式;各类别轮转起点)与之前某个 tick 完全相同时,直接复用当时的分配结果与分组,跳过分组构建与水位分配;提交、验证与世界效果照常每 tick 执行。/mio_icif perf 新增一行(重建的连通块、保留的连通块、重放的稳态窗口)。
  • 火控(P1/P3/P8):HUD 的提前量菱形改为真正的瞄准点(P3):射击解计入重力、空气阻力、玩家自身速度与飞行期间目标的移动(瞄准点迭代,沿用上一 tick 的解热启动),此前只按水平距离算一次飞行时间且忽略重力与所需仰角(满弓 30 m 偏 2.5 格、60 m 偏约 10 格,现在 0.1 格内)。目标运动估计(P1):三步平均速度(测试表明它最适合客户端的 3 tick 插值,α-β-γ 滤波器并不更好)加上协调转弯模式:盘旋的目标沿圆弧预测,1 秒预测误差 2.8 → 0.14 格,其他运动不变差;行为预测器的轨迹也随之弯曲。预测轨迹的开销(P8):方块查询按方块格在 tick 内缓存并在所有轨迹间共享,轨迹每 2 tick 重算、中间随目标平移,查询次数减少约 7 倍,轨迹不变。GameTests:Round1120GameTests(5 项)。检查工具 check_1120.py,离线测试 verify-si1120。

0.1.10.19

基于 0.1.10.18。共 5 项(玩家反馈)。详细说明见 docs/releases/0.1.10.19/UPDATE.md。

  • 武装库跨维度:在其他维度(例如 Galacticraft Boobcat 版的空间站)或未加载区块中的武装库,控制台总是显示“武装库不存在”,无法召回或存放。原因:远程读取会同步加载区块,但同步加载只得到原版 1 tick 的票据,区块随即卸载;控制台每 20 tick 刷新一次,占用了每名玩家 20 tick 一次的强制加载冷却,之后的每次操作都落在冷却内,读不到武装库。现在找到远程武装库后,为其区块添加可续期的区块票据(mio_icif_armory_remote,完整区块、不 tick,最后一次读取后 30 秒到期);强制加载的冷却保留。
  • 原子炉布局(JEI,IC2 Classic 风格):新增 JEI 分类“反应堆布局”。每个布局显示组件网格(组件为输入槽,查询组件的用途即可找到布局)、EU/t、热量的产生与散出、风险(稳定、组件熔化、熔毁及其时间)、按本地配置计算的爆炸威力与半径,以及燃料时长与每次装填的 EU。数值来自反应堆方块的模型,运行一次完整的铀燃料周期(20,000 个周期,到达稳态即停止)。内置 9 个布局(5~660 EU/t,以及 2 个失败示例);催化剂为核反应堆与核反应仓。手册模拟器的“安全”判定同样改用完整燃料周期:此前 100 秒的计算会把散热片缓慢升温的设计判为安全(例:铱中子反射板 + 四联铀棒,199 秒后散热片熔化、280 秒后熔毁),现在显示熔化或熔毁时间。新公共 API:core.api.reactor.ReactorLayout / ReactorLayoutRegistry。
  • 多方块结构:新增 JEI 分类“多方块结构”(类似 Modern Industrialization 的结构查看器):可拖动旋转、滚轮缩放、逐层查看的 3D 视图,带数量的材料槽(查询方块用途即可找到结构)与规则说明。内置 8 个建造图:核反应堆与反应仓、流体反应堆(5×5×5)、GESU、大型物质生成机、石油钻机、维度石油钻机、高炉与热源、发酵机与热源(机器与热源正面相对)。手册新增页面“多方块结构”,并在 9 个机器页面加入 3D 结构视图(GuideME 标签 <SiStructure>、<SiStructureInfo>)。新公共 API:core.api.multiblock.StructureBlueprint / StructureBlueprintRegistry(附属模组可注册自己的建造图,JEI 自动显示),API 指南第 20 节。
  • FTB Ultimine 破坏机器不掉落:机器方块需要正确工具才有掉落,而扳手此前只能右键拆卸,用扳手左键破坏(包括 FTB Ultimine 用玩家手中工具逐个破坏的连锁采掘)时机器直接消失。现在扳手(SI 扳手或任何 c:tools/wrench)是 SI 机器与导线的正确工具,掉落带设置的机器本身,挖掘速度 8;SI 手动扳手每破坏一个机器耗损 1 点。用镐破坏仍按原设计掉落机壳。只作用于奇点迭代自己的方块。
  • 流体加热机界面:燃料罐的流体纹理与名称固定为沼气。现在由菜单同步燃料的流体 ID,显示罐中的实际燃料。半流质发电机与进阶半流质发电机有同样的问题,一并修正。GameTests:Round1119GameTests(7 项)。检查工具 check_1119.py。

0.1.10.18

基于 0.1.10.17。共 1 项。详细说明见 docs/releases/0.1.10.18/UPDATE.md。

  • 传送机粒子:客户端粒子读取激活状态与冷却时间,但这两个值只在存档中,客户端从未收到,因此传送机从不显示粒子(就绪为蓝色、冷却中为绿色)。现在更新标签带有这两个值;激活状态改变或冷却开始时发送只含这两个值的方块实体数据包(经 ClientSyncThrottle,每 5 tick 最多一次);客户端自行倒数冷却时间,冷却结束无需再发包;onDataPacket 只应用这两个值,不重新加载其他客户端数据。粒子颜色同时修正:此前使用红色的红石粒子,并把颜色作为速度传入,即使收到状态也只会显示向上或侧向漂移的红色粒子;现在冷却中为绿色、就绪为蓝色,粒子静止。GameTests:Round1118GameTests(2 项)。检查工具 check_1118.py。

0.1.10.17

基于 0.1.10.16。共 5 项(同步瘦身,E-2)。详细说明见 docs/releases/0.1.10.17/UPDATE.md。

  • 完整存档的更新标签:15 个方块实体的 getUpdateTag 此前直接使用完整存档(saveWithoutMetadata 或 saveAdditional),每次区块加载(其中 4 个还在每个方块实体数据包中)把库存、储罐、积分与计时器发送给追踪该区块的每个玩家。现在只发送客户端读取的数据:冷凝机、电解机、发酵机、流体加热机、热交换机、核反应堆、精炼机、泵、复制机、太阳能蒸馏机、固体加热机只发送父类的客户端数据(或空标签);EU 分流/检测导线只发送开关状态;变压器只发送模式与升压标志;能量转换器只增加模式;作物去掉 5 个只在服务器使用的键(生长进度、tick 相位、施肥冷却、作物管理机时间、存档版本),保留渲染、亮度与附属模组植物所需的数据。
  • 预制基类的库存:加工机器、储电设备、发电机、加热机、动能发生机 5 个基类的更新标签不再附带库存(新的 protected 方法 syncInventoryToClient(),默认 false);柴油发电机、地磁发电机与物品分配机同样。界面通过菜单的原版槽位同步取得物品;加载器只在标签含有库存时才应用库存,客户端的物品不会被清空。风力/水力动能发生机仍发送转子(渲染需要)。附属模组若有读取物品的渲染器,请覆盖该方法返回 true(API 指南第 19 节)。
  • 隐私:核反应堆的更新标签此前包含事故调查所有者的 UUID 与名称(AuditOwner、AuditOwnerName),泵包含动作所有者(ActionOwner),会发送给附近的所有玩家;现在不再发送。
  • 精炼机界面:流体种类与数量此前取自客户端方块实体(只有区块加载时的数据,显示过时的储罐),现在取自菜单同步数据(OilRefineryElcMenu)。
  • 估算(未压缩 NBT,典型状态):粉碎机 642 → 134 字节、MFSU 433 → 94、装满的核反应堆 6,958 → 112、发酵机 488 → 2、作物 301 → 199(每次可见变化发送)、变压器 71 → 23、EU 分流导线 52 → 12。区块数据包会被压缩,实际节省小于此值。GameTests:Round1117GameTests(3 项,在游戏中把每个 SI 方块实体的更新标签与存档大小写入日志)。检查工具 check_1117.py。

0.1.10.16

基于 0.1.10.15(579cfd4)。共 13 项。详细说明见 docs/releases/0.1.10.16/UPDATE.md。

  • 服务器负载:独立 SI 电网每 tick 的记账表(数据包扣费、变压器接收、本 tick 接收、中继供电、输出失败、本 tick 导出)改为以 BlockPos.asLong() 为键的 fastutil 开放寻址表,不再为每个位置每 tick 分配一个哈希表节点。这些表只做查找、从不遍历,行为不变。
  • 菜单数据槽:新增 WideDataSlots(每个值用两个 16 位数据槽同步)。基础菜单改用它,行为不变。石油钻机面板不继承基础菜单,此前按原版 16 位同步,钻机距原点超过 32,767 格时面板上的钻探坐标显示错误,已修正。
  • 机器物品中的反应堆冷却液注入器储备:用扳手拆下的注入器保存的冷却剂储备(rci_reserve,0.1.10.14)在只保留设置的副本中被删除,但把该机器物品用作合成材料时没有退还,储备物品丢失。MachineContents 现在也读取这个键并退还。
  • 堆叠上限(仅限奇点迭代):删除全局 Mixin ContainerMaxStackMixin。它让所有默认上限为 99 的容器报告 9,999,使任何模组中 max_stack_size 超过 99 的物品都能在所有容器中堆到该数量。新增 LargeStackItem、LargeStackContainer、LargeStacks 与两个限定 Mixin(Container#getMaxStackSize(ItemStack)、Slot#getMaxStackSize(ItemStack)):只有工业货币(9,999)超过 99,并且只在使用原版默认上限、能保存大堆叠的容器中(原版容器:玩家背包、箱子、木桶、潜影盒、末影箱等;奇点迭代的储物箱);有自身上限的容器保持其上限;其他模组的容器与本模组的机器中货币每格最多 99 个(这些容器的 setItem 可能按无参上限截断,否则会删除超出部分);其他物品恢复原版规则。储物箱的 setItem 改按单个物品的上限截断(此前按容器上限截断,删除全局 Mixin 后会把 9,999 个货币截成 99 个)。物品数量与 max_stack_size 两个编解码范围保留到 9,999,只用于存取(旧存档照常读取)。Mixin 为可选,启动时自检,失败时记录错误。漏斗、管道等经由原版物品处理器包装(InvWrapper)放入时,货币每格最多 99 个。
  • JEI:充电物品的子类型解释器改用 JEI 19.21 的 ISubtypeInterpreter(旧接口 IIngredientSubtypeInterpreter 已标记为将被移除),显示与配方判定不变。
  • 配方查看器:移除 REI 插件(27 个文件、服务声明、构建依赖与 neoforge.mods.toml 中的可选依赖)。JEI 与 EMI 插件保留。
  • 事件订阅:16 个类的 @EventBusSubscriber 去掉已弃用的 bus = Bus.MOD 参数(FML 4 按事件类型自动选择总线),行为不变。
  • 日志:能力注册的 122 条与客户端初始化的 38 条 INFO 日志改为 DEBUG,能力注册结束时输出一行汇总;不再在日志中记录玩家名称。
  • 静默失败:AE2 直连桥接(5 处)、AE2 能量存储查询、斯特林发电机从相邻方块取热、JEI 的 Curios 子类型、创造模式物品栏的 Curios 物品此前吞掉异常,现改用 QuietFailures(首次带堆栈记录,之后每分钟最多一条计数),功能照常继续。
  • 日语翻译补全:补上 1,852 条(ja_jp 3,567 条,与英语一致,无缺失、无失效键、占位符全部一致)。英语补上钛、铌系列物品与方块、钛制储物箱等 33 个名称(此前英语界面显示翻译键);中文补 6 条、俄语补 7 条(含两条模块提示中写死为 V/B 的按键参数),删除俄语 1 条失效键。新工具 tools/lang_1116.py(应用 tools/lang_data/lang_1116.json,检查各语言的缺失键、失效键与占位符)。
  • 日语手册:150 个页面的标题由英语改为日语名称(此前生成时日语名称缺失,退回英语)。英语手册中超导合金导线页面的标题此前显示为 block_superconducting_cable,已修正。工具 tools/guide_1116.py。
  • 构建:0.1.10.14/0.1.10.15 新增的 5 个 GameTest 文件(MachineApiRecipesGameTests、MachineConversionGameTests、OilRigAndFabricatorGameTests、PlayerFeedbackGameTests、PowerUnitRecipeGameTests)直接写出了 com.miophas.singularity_iteration.common. 包名,checkCoreArchitecture 因此失败,0.1.10.15 的完整构建(build)无法通过。改为拼接字符串(与其他测试相同)。
  • GameTests:Round1116GameTests(6 项:货币与其他物品的堆叠上限(含其他模组的容器)、储物箱中的 9,999 个货币、冷却液注入器储备的退还、9,999 货币与旧存档中 max_stack_size 超过 99 的物品的存取、宽数据槽、石油钻机面板)。检查工具 check_1116.py、离线测试 Harness1116。

0.1.10.20

Based on 0.1.10.19. 3 parts in total (Phase 1 of the core system improvement plan: Futures M1, Power Grid G1/G2, Fire Control P1/P3/P8). See docs/releases/0.1.10.20/UPDATE.md for details.

  • Futures Machine (M1): The daily trade limit was previously counted per machine, allowing players to bypass it by placing multiple machines, and only the machine that triggered the daily reset would have its count cleared (others would remain stuck at the previous day's count). It is now counted per player (UUID) and shared across all Futures Machines server-wide. The market was previously independent per dimension (Nether, Space Station, etc., had separate markets and limits), but is now a single server-wide market (stored in the Overworld); old market data in other dimensions is no longer read. Buy/sell spread: buy price = price × (1 + spread/2), sell price = price × (1 − spread/2) (spread, default 0.06), rounded per transaction; previously buy and sell prices were identical, making price trends predictable and risk-free arbitrage possible. Market daily buy limit: each item type can be sold to the market up to a total of systemBuyPerDay per day across all players (default 256, 0 for unlimited). As the quota is consumed, the sell price decreases per item, up to a maximum drop of budgetPriceDrop (default 30%); previously the market bought infinitely, allowing farms to generate infinite money. The UI displays the buy price, sell price, and remaining daily buy quota for the current quantity; on failed transactions, the reason is shown in the action bar (limit reached, insufficient currency/items, insufficient power, inventory full, market full). The coin cache sync that wrote to the machine every tick and sent block updates upon opening the UI is removed; coins and daily traded volume are now displayed per viewer.
  • Power Grid (G1, results unchanged): Wire snapshots previously used a single graph for the entire dimension. Placing or breaking any wire anywhere would rebuild the graph by re-sorting all wires in the dimension (O(N log N)), discarding the routing plans and routing search caches for the entire dimension. The graph is now saved per connected component: an edit only rebuilds the connected component containing the edited position and its neighbors, while other components retain their graphs and routing search caches. Offline tests: with 100,000 wires and 50 bases, snapshot rebuild after a single edit went from 182 ms to about 2 ms; 40 random networks and 6,008 snapshots were compared item-by-item with the old implementation (including path ordering and equivalent path selection) and all matched.
  • Power Grid (G2, results unchanged): In fair allocation mode, if a window's allocation inputs (source budgets, packet sizes, categories; receiver spaces, rated inputs, categories, relay requirements; shared energy storage; line loss mode; category rotation starting points) are exactly identica...
Read more

[SI] SingularityIteration-0.1.10.14-beta

Choose a tag to compare

@2132937983 2132937983 released this 20 Oct 16:47

0.1.10.14

基于 0.1.10.13。共 18 项。

  • 车床对齐 IC2 TileEntityLathe:方块、菜单、界面与车削逻辑重写(KU 缓存 10000,每刀 1000 KU,向相邻动能源索取 KU,按钮在服务端执行)。修复从动能源免费取能、拆除不掉落、按钮只在客户端生效。铁车刀对齐 IC2(耐久 50、硬度 3),保留钻石车刀。
  • 铁/木车刀坯:图标与界面按切削状态显示型面,提示显示切削阶段与命名型面(例如 5-4-3-2-1“钻头尖端”),按住 Shift 列出还能车成的部件及所需刀数。新配方成分 mio_icif:lathe_state。
  • 合成按 IC2 进度:新增钻头部件与链锯锯片,铁钻头与铁链锯改由它们合成;驱动把手与小型驱动把手改用 IC2 配方。钻石钻头、采矿镭射枪,以及手摇、风力、水力、斯特林、蒸汽动能发生机需要对应型面的铁车刀坯部件(电力动能发生机除外)。
  • 电力动能发生机界面始终显示 0 KU/t:改为显示本 tick 实际输出与最大输出。
  • 发酵机改为数据驱动:mio_icif:fermenter JSON 配方(输入流体或流体标签及每次用量、热量、输出、副产物与产出间隔),默认配方保持 IC2 数值。API 新增流体形式 registerFermenterRecipe(id, FluidStack, heat, FluidStack) 与 findFermenterRecipe(FluidStack, Level),物品形式弃用(API 指南 12.3)。
  • JEI 重做:所有配方页统一布局(JEI 槽位背景、按加工时间播放的箭头、时间/EU/t/总 EU 行),修复文字溢出与高炉中看不见的空气。新增发酵机与车床页。流体单元成为流体槽的隐藏成分(搜索沼气单元即可找到发酵机)。新增装罐机“单元→水槽”“水槽→单元”页(每种流体一页)。
  • 机器自有转换(MachineConversion):蒸汽机、蒸汽再加压机、冷凝机、太阳能蒸馏机、热交换机、核反应堆(流体模式)、物质生成机(含增幅剂)、大型物质生成机、石油钻机与维度石油钻机用机器自身的常量发布转换,JEI 中每台机器一页(不使用虚拟 JSON 配方)。冷凝机与太阳能蒸馏机原有的 JEI 页由此取代(JEI 书签 ID 变化)。
  • 压缩机:空单元压缩为压缩空气单元(IC2),此前产出装有空气的通用单元。
  • 石油钻机:矿石判定改用 c:ores 标签。此前方块名称中含 “ore” 即算矿石,钻机核心、重型核心、孢子花等都被当成矿石。
  • 大型物质生成机:废料模块的价值先抵扣,输入只需剩余的 EU。此前即使废料足以抵扣,输入仍须存满 800,000 EU。
  • 配方 API:14 种通用配方类型(搅拌机、电炉、电解机、聚变反应堆等)此前从未注册,只要有一个此类运行时配方,全部运行时配方的同步都会失败。现全部注册;序列化器各自生成正确的配方类型(此前大多生成电炉配方);getAllRecipeTypeIds() 修正金属成型机的三个 ID 并补全分子重组仪与粒子聚合发生器。
  • 机器读取 API 配方:电炉与感应炉优先使用 electric_furnace 配方;回收机按配方的产物与概率回收(未给概率时为 1/8,JSON 可写 chance);电解机接受配方中的输入(每件同样储存 200 EU)。新 API registerMassFabricatorAmplifier(物质生成机增幅剂,JSON mio_icif:mass_fabricator 的 credit)与 registerLatheShape(为车床型面命名)。registerLatheRecipe、registerMassFabricatorRecipe、registerScannerRecipe、registerReplicatorRecipe 弃用并返回 false(API 指南 12.4)。
  • 反应堆冷却液注入器(RSH/LZH)按 IC2 1.12 TileEntityAbstractRCI 重写。此前它在正面寻找反应堆,放好后从不注入,冷凝模块满热导致反应堆熔毁。现在背面、正面或侧面贴着核反应堆或核反应仓都能工作(优先背面),可朝六个方向放置。每 tick 为每个热量超过 85% 的对应冷凝模块消耗 1 个红石块/青金石块与 1000 EU 并清空热量;核反应堆进料倍率大于 1 时,同一次运算的各次进料之间也会注入(此前冷凝模块可能在一次运算内直接满热)。48000 EU 缓存(MV),9 个冷却剂槽,4 个升级槽(仅抽入升级),界面对齐 IC2。旧存档的 53 槽库存自动迁移:放不下的部分作为储备优先使用,拆除时掉落。
  • 作物架水洗:种有作物的作物架(含升级作物架)被水冲到(流水、倒桶、单元、发射器)时被破坏,并恰好掉落 2 个该作物的作物种子(保留属性与扫描等级),不掉落作物架。空作物架与其他流体不变;手持水单元右键作物仍是浇水。
  • 纳米剑:可以破坏蜘蛛网并掉落线(对齐 IC2:启动时蜘蛛网 50、其他方块 4,关闭时 1)。
  • 女仆模组(车万女仆,例如酒狐)兼容:纳米剑的伤害改为攻击伤害属性(启动 20、关闭 4,玩家手中 21/5 不变),女仆与其他生物都能使用,非玩家手持时不再自动关闭。僚机持纳米剑时按纳米剑当前的状态计算伤害。
  • 流体流量调节机:放入压缩空气单元会输出满的压缩空气单元;向高炉输出时,只要储罐有空间、单元还在,就会无限产生压缩空气。原因是先把流体抽进储罐、再把输入物品的副本放进输出槽,输出槽满时同一个单元每 tick 都会再次给出流体。改为对齐 IC2:整个容器进罐、空容器出槽,两者都放得下才进行。静态单元排空后变为空单元;压缩空气单元补上流体能力(此前管道与机器无法排空它)。
  • 钻头与链锯的近战伤害:钻头与链锯的伤害改为攻击伤害属性,在提示中显示,生物与女仆也能使用。玩家手中:铁链锯 10、铁钻头 9、钻石钻头 9(此前没有)、铱钻头 21;伤害随攻击冷却变化。
  • GameTests:LatheGameTests、PowerUnitRecipeGameTests、KineticGeneratorPartsGameTests、FermenterRecipeGameTests、MachineConversionGameTests、OilRigAndFabricatorGameTests、RecipeApiTypesGameTests、MachineApiRecipesGameTests、CoolantInjectorGameTests、CropWashingGameTests、PlayerReportGameTests;chunkGridReadOut 与核沉降植被测试不再受区块边界影响。工具:tools/jei-capture.init.gradle(JEI 页截图)。

0.1.10.14

Based on 0.1.10.13. 18 items in total.

  • Lathe aligned with IC2 TileEntityLathe: block, menu, GUI, and turning logic rewritten (KU cache 10000, 1000 KU per cut, requests KU from adjacent kinetic sources, button executes on the server). Fixed free energy draw from kinetic sources, no drop on dismantling, and button only taking effect on the client. Iron lathe tool aligned with IC2 (durability 50, hardness 3); diamond lathe tool retained.
  • Iron/wood lathe tool blanks: icon and GUI display the profile according to cutting state; tooltip shows cutting stage and named profile (e.g., 5-4-3-2-1 "drill tip"); holding Shift lists the parts still turnable and the required number of cuts. New recipe component mio_icif:lathe_state.
  • Recipes follow IC2 progression: added drill bit parts and chainsaw blades; iron drill and iron chainsaw are now crafted from them; drive handle and small drive handle now use IC2 recipes. Diamond drill, mining laser, and manual, wind, water, Stirling, and steam kinetic generators require iron lathe tool blank parts with the corresponding profile (except Electric Kinetic Generator).
  • Electric Kinetic Generator GUI always showed 0 KU/t: changed to display actual output and maximum output for the current tick.
  • Fermenter made data-driven: mio_icif:fermenter JSON recipes (input fluid or fluid tag and amount per operation, heat, output, byproducts, and output interval); default recipes keep IC2 values. API adds fluid form registerFermenterRecipe(id, FluidStack, heat, FluidStack) and findFermenterRecipe(FluidStack, Level); item form deprecated (API guide 12.3).
  • JEI reworked: all recipe pages use a unified layout (JEI slot backgrounds, arrow animated according to processing time, time / EU/t / total EU rows); fixed text overflow and invisible air in the blast furnace. Added Fermenter and Lathe pages. Fluid cells become hidden ingredients for fluid slots (searching for a biogas cell finds the fermenter). Added Canning Machine "cell → tank" and "tank → cell" pages (one page per fluid).
  • MachineConversion: Steam Generator, Steam Repressurizer, Condenser, Solar Distiller, Heat Exchanger, Nuclear Reactor (fluid mode), Mass Fabricator (including amplifiers), Large Mass Fabricator, Oil Rig, and Dimensional Oil Rig publish conversions using the machine's own constants; one JEI page per machine (no virtual JSON recipes). The previous JEI pages for Condenser and Solar Distiller are replaced by these (JEI bookmark IDs change).
  • Compressor: empty cell compresses into Compressed Air Cell (IC2); previously produced a generic cell filled with air.
  • Oil Rig: ore detection now uses the c:ores tag. Previously any block whose name contained "ore" counted as ore, so drill core, heavy core, spore flower, etc. were treated as ores.
  • Large Mass Fabricator: scrap module value is deducted first, so input only needs the remaining EU. Previously, even if scrap was enough to cover the cost, the input still had to be filled to 800,000 EU.
  • Recipe API: 14 generic recipe types (Mixer, Electric Furnace, Electrolyzer, Fusion Reactor, etc.) were never registered; if even one runtime recipe of such a type existed, synchronization of all runtime recipes would fail. All are now registered; serializers each generate the correct recipe type (previously most generated Electric Furnace recipes); getAllRecipeTypeIds() fixes the three Metal Former IDs and completes Molecular Transformer and Particle Aggregator.
  • Machine reading API recipes: Electric Furnace and Induction Furnace prioritize electric_furnace recipes; Recycler recovers according to recipe outputs and chances (1/8 if no chance given; JSON can specify chance); Electrolyzer accepts inputs from recipes (each item still stores 200 EU). New APIs registerMassFabricatorAmplifier (Mass Fabricator amplifier, credit in JSON mio_icif:mass_fabricator) and registerLatheShape (names lathe profiles). registerLatheRecipe, registerMassFabricatorRecipe, registerScannerRecipe, registerReplicatorRecipe are deprecated and return false (API guide 12.4).
  • Reactor Coolant Injector (RSH/LZH) rewritten according to IC2 1.12 TileEntityAbstractRCI. Previously it searched for the reactor on the front face and never injected after placement, causing condenser modules to reach full heat and the reactor to melt down. Now it works when attached to a Nuclear Reactor or Reactor Chamber on the back, front, or side (back preferred), and can be placed in six directions. Each tick, for each corresponding condenser module above 85% heat, it consumes 1 Block of Redstone / Block of Lapis Lazuli and 1000 EU and clears the heat; when the reactor feed multiplier is greater than 1, injection also occurs between feeds within the same operation (previously condenser modules could reach full heat within a single operation). 48000 EU buffer (MV), 9 coolant slots, 4 upgrade slots (Pulling Upgrade only), GUI aligned with IC2. Old saves with 53-slot inventories are automatically migrated: overflow is used first as reserve and dropped on dismantling.
  • Crop stick washing: crop sticks with a crop (including upgraded crop sticks) are destroyed when washed by water (flowing water, bucket, cell, dispenser) and drop exactly 2 crop seeds of that crop (preserving stats and scan level), without dropping the crop stick. Empty crop sticks and other fluids are unchanged; right-clicking a crop with a water cell still waters it.
  • Nano Saber: can break cobwebs and drop string (aligned with IC2: cobweb 50, other blocks 4 when activated; 1 when off).
  • Maid mod (Touhou Little Maid, e.g. Sake Fox) compatibility: Nano Saber damage changed to the attack damage attribute (20 when activated, 4 when off; 21/5 in player hands unchanged); maids and other mobs can use it, and it no longer auto-deactivates when held by non-players. Wingmen holding a Nano Saber calculate damage based on the Nano Saber's current state.
  • Fluid Regulator: inserting a Compressed Air Cell outputs a full Compressed Air Cell; when outputting to a Blast Furnace, as long as the tank has space and the cell remains, it infinitely produces compressed air. The cause was that fluid was first drawn into the tank, then a copy of the input item was placed into the output slot; when the output slot was full, the same cell would give fluid again every tick. Changed to align with IC2: the entire container goes into the tank and an empty container comes out, only proceeding if both fit. Static cells become empty cells after being drained; Compressed Air Cells now have a fluid capability (previously pipes and machines could not drain them).
  • Drill and Chainsaw melee damage: drill and chainsaw damage changed to the attack damage attribute, displayed in tooltips, usable by mobs and maids. In player hands: Iron Chainsaw 10, Iron Drill 9, Diamond Drill 9 (previously none), Iridium Drill 21; damage varies with attack cooldown.
  • GameTests: LatheGameTests, `PowerUnitRecipeGame...
Read more

[SI] SingularityIteration-0.1.10.11-beta

Choose a tag to compare

@2132937983 2132937983 released this 19 Oct 08:11
9cff7d4
Merge pull request #19 from rianfalltwilight-lab/sync/0.1.10.9-20261019

同步 0.1.10.11:机器物流与性能优化、模型修复和区块加载管理

[SI] SingularityIteration-0.1.10.15-beta

Choose a tag to compare

@2132937983 2132937983 released this 23 Oct 14:51

0.1.10.15

基于 0.1.10.14。共 15 项。

  • 物质生成机对齐 IC2 TileEntityMatter:取消 8,192 EU/t 的输入上限,每 tick 可接收的 EU 只受缓存剩余空间限制;变压升级提高电压等级(此前每 tick 都被重设回 8,192)。每 tick 最多产出 1 mB 不变。
  • 大型物质生成机(同样对齐 IC2):输入模块(IV) 每 tick 接收量只受 800,000 EU 缓存的剩余空间限制(此前 8,192 EU/t),IV 电压等级不变;输入模块提供 Forge Energy 接口,Mekanism 等模组的线缆可以直接供电(此前无法连接)。核心汇总所有输入模块的能量(此前必须由单个模块独自存满 800,000 EU),每 tick 最多产出 1 mB。废料模块:每件物品的价值改为其物质增幅值 ×10(同 METS),并读取物质生成机的增幅剂配方:废料 50,000、废料盒 450,000、钍废料盒 3,600,000 EU(此前写死为 5,000、45,000、1,200,000,且忽略增幅剂配方)。核心界面的废料价值与 UU 物质数量超过 32,767 时显示错误,已修正。
  • 复制机(对齐 IC2):复制中取出或更换模式存储水晶会取消本次复制并停止(此前继续用缓存的样板复制,且无法中断);停止按钮丢弃进行中的复制(此前只是暂停,再按单次/循环会继续复制已取出的样板);没有样板时单次/循环模式自动停止;“复制中”状态与指示灯在两步之间不再闪灭。
  • 模式扫描机(对齐 IC2):扫描中取出模式存储水晶、样板已记录或水晶存有其他样板时,扫描重置,物品可以取出(此前扫描冻结、物品被锁在机器里);扫描中玩家可随时取出物品(扫描重置),漏斗等自动化仍不能取出;破坏未完成扫描的扫描仪时掉落其中的物品、进度清零(此前整台机器连同物品与进度打包掉落),已完成、等待保存的样板仍随机器保存;界面补上“传输错误”“已记录”状态。
  • 变压升级:取出时仍需按住防呆按键(默认右 Alt),物品提示写明所需按键;未按住时点击会在聊天栏提示(每秒最多一次)。按键名称随玩家的按键设置显示。
  • JEI(兼容 JEI 19.21):充电电池、能量水晶、电动工具与护甲、带电的储电方块在合成配方中不论电量都算作已有(此前只要带电就被标红、“+”不可用,例如储电盒、MFE、纳米剑、采矿镭射枪);配方槽同时显示空电与满电两种。需要车削部件的 7 个配方能区分车刀坯的型面,未车削或型面不对时标红。工业工作台的“+”按钮修正槽位范围(此前忽略快捷栏、会从工具槽取物,输出槽有物品时按钮消失)。
  • 进阶电力超频喷气背包与量子胸甲取消飞行高度上限;电力喷气背包保留 310 格上限。
  • 工业钻石加入 c:gems/diamond 标签(对应 IC2 的 gemDiamond)。传送机、铱板、钻石切割刀片、钻石散热片、高级粉碎机、钻石透镜、辐照强化板的配方,以及打粉机的钻石→钻石粉(可继续制作能量水晶)改用该标签。不新增 IC2 经典版的工业钻石直接合成能量水晶配方。
  • 机器音效:客户端配置新增 machine_sounds 开关。新增隔音耳罩:戴在头盔栏,或安装 Curios 时的头部饰品栏,屏蔽机器循环音与加工完成提示音(警报、爆炸与工具音效不受影响)。配方:铁板、2 橡胶、2 羊毛。安装 Curios 时为玩家启用头部饰品栏。
  • 电缆图标:绝缘高压导线与双层绝缘高压导线、绝缘超高压导线与三层绝缘超高压导线的物品图标互换修正(与 IC2 一致)。放置后的方块外观不变。
  • 电缆掉落:用扳手拆下的电缆此前附带 {id, energy} 方块实体数据(例如中压导线显示为能量 0),无法与合成的电缆堆叠。现在掉落不带数据的物品;旧存档里已带此数据的电缆在加载时自动清除,可重新堆叠。上色的绝缘电缆仍保留颜色。
  • 电缆名称统一:各绝缘层数按“绝缘/双层绝缘/三层绝缘 + 电压等级”命名。“双层绝缘金导线”改为“双层绝缘高压导线”,“双层/三层绝缘高压铁导线”改为“双层/三层绝缘超高压导线”(英文同步);英文补上超导合金导线的名称(此前显示为翻译键)。
  • 新增俄语翻译(ru_ru.json),由热心玩家 1vange1ion 提供,特此感谢!0.1.10.14 与本版新增的 61 条文本(隔音耳罩、车床、JEI 页面等)已补上俄语;玩家原有的译文保持不变,其余尚未翻译的条目显示英文。
  • 作物架上的树(橡树、云杉、白桦、丛林、金合欢、深色橡树)对齐 IC2 CropBaseSapling:每次收获掉落 1 个原木,25% 概率附带树苗,橡树另有 25% 概率掉落苹果。此前原木虽已登记却从未掉落,收获只得到树叶(IC2 不掉落树叶)。
  • 储物箱:物品提示“物品:x / y 组”此前始终不显示(读取了错误的存档格式),现在显示已占用的格数。
  • GameTests:PlayerFeedbackGameTests(17 项)、FabricatorStressGameTests(满功率压力测试:100 万 EU/t 输入带 4 个变压升级的物质生成机;4 个满缓存输入模块的大型物质生成机)。开发工具:CaptureDirector 新增 -Dsi.capture.jei=TRANSFER(在 JEI 中逐项检查合成“+”的缺料判定)与 -Dsi.capture.scene=feedback(音效屏蔽、耳罩、变压升级提示与电缆图标的游戏内检查)。API 指南补充 12.4 节(0.1.10.14 的配方 API 与机器)。

0.1.10.15

Based on 0.1.10.14. 15 items in total.

  • Matter Fabricator aligned with IC2 TileEntityMatter: Removed the 8,192 EU/t input limit; the EU it can receive per tick is now only limited by the remaining buffer space. Transformer upgrades now raise the voltage tier (previously it was reset to 8,192 every tick). Output remains at max 1 mB per tick.
  • Large Fabricator (also aligned with IC2): The Input module (IV) intake per tick is now only limited by the remaining space in its 800,000 EU buffer (previously 8,192 EU/t); IV voltage tier remains unchanged. Input modules now provide a Forge Energy interface, allowing cables from mods like Mekanism to supply power directly (previously unable to connect). The core now pools energy from all input modules (previously a single module had to be fully filled with 800,000 EU) and produces at most 1 mB per tick. Scrap module: The value of each item is now its matter amplifier value ×10 (same as METS), reading the Matter Fabricator's amplifier recipes: Scrap 50,000, Scrap Box 450,000, Thorium Scrap Box 3,600,000 EU (previously hardcoded to 5,000, 45,000, 1,200,000, ignoring amplifier recipes). Fixed the display error in the core GUI when scrap value and UU-matter amount exceed 32,767.
  • Replicator (aligned with IC2): Removing or swapping the Pattern Storage Crystal during copying will cancel the current copy and stop it (previously it continued copying using the cached pattern and could not be interrupted). The Stop button discards the ongoing copy (previously it only paused, and pressing Single/Loop again would resume copying the removed pattern). Auto-stops in Single/Loop mode when there is no pattern. The "Replicating" status and indicator light no longer flicker between steps.
  • Pattern Scanner (aligned with IC2): Resets the scan and allows item extraction if the Pattern Storage Crystal is removed during scanning, the pattern is already recorded, or the crystal contains another pattern (previously the scan froze and the item was locked in the machine). Players can extract items at any time during scanning (resetting the scan); automation like hoppers still cannot extract. Breaking a scanner with an incomplete scan now drops the items inside and clears progress (previously the whole machine was packed and dropped with items and progress). Completed patterns waiting to be saved are still saved with the machine. Added "Transfer Error" and "Already Recorded" states to the UI.
  • Transformer Upgrade: Still requires holding the safety key (default Right Alt) to remove, tooltip specifies the required key; clicking without holding it will prompt in the chat bar (max once per second). Key name displays according to the player's keybindings.
  • JEI (compatible with JEI 19.21): Charged batteries, Energy Crystals, electric tools/armor, and charged storage blocks are considered present in crafting recipes regardless of charge (previously any charged item was highlighted in red and the "+" button was disabled, e.g., BatBox, MFE, Nano Saber, Mining Laser). Recipe slots now display both empty and full charge variants. The 7 recipes requiring turned parts can now differentiate the turning blank profiles; un-turned or incorrectly turned blanks are highlighted in red. Fixed the slot range for the Industrial Workbench's "+" button (previously ignored the hotbar, pulled items from tool slots, and hid the button when the output slot was occupied).
  • Jetpacks: Removed the flight altitude limit for the Advanced Electric Jetpack and Quantum Chestplate; Electric Jetpack retains the 310-block limit.
  • Industrial Diamond: Added to the c:gems/diamond tag (corresponding to IC2's gemDiamond). Recipes for Teleporter, Iridium Plate, Diamond Cutting Blade, Diamond Heat Vent, Advanced Macerator, Diamond Lens, Irradiant Reinforced Plate, and the Macerator's Diamond → Diamond Dust (which can continue to craft Energy Crystals) now use this tag. Do not add the IC2 Classic recipe for directly crafting Energy Crystals from Industrial Diamonds.
  • Machine Sounds: Added a machine_sounds toggle in the client config. Added Soundproof Earmuffs: Worn in the helmet slot or the Curios head slot (if installed), they mute machine looping sounds and job completion chimes (alarms, explosions, and tool sounds are unaffected). Recipe: Iron Plate, 2 Rubber, 2 Wool. Enables the head accessory slot for players when Curios is installed.
  • Cable Icons: Fixed the swapped item icons for Insulated HV Cable & Double-Insulated HV Cable, and Insulated EV Cable & Triple-Insulated EV Cable (consistent with IC2). Placed block appearance remains unchanged.
  • Cable Drops: Cables removed with a wrench previously carried {id, energy} block entity data (e.g., MV Cable showed energy 0), preventing them from stacking with crafted cables. Now drops items without data; cables with this data in old saves are automatically cleaned on load and can stack again. Painted insulated cables still retain their color.
  • Cable Name Unification: Insulation levels are now named "Insulated / Double-Insulated / Triple-Insulated + Voltage Tier". Changed "Double-Insulated Gold Cable" to "Double-Insulated High-Voltage Cable", and "Double/Triple-Insulated HV Iron Cable" to "Double/Triple-Insulated Extra-High-Voltage Cable" (English synchronized). Added the English name for Superconducting Alloy Cable (previously displayed as a translation key).
  • Russian Translation: Added Russian translation (ru_ru.json), provided by the helpful player 1vange1ion, special thanks! Added Russian for the 61 new strings in 0.1.10.14 and this version (earmuffs, lathe, JEI pages, etc.); the player's original translations remain unchanged, and other untranslated entries display in English.
  • Crop Sticks: Trees on Crop Sticks (Oak, Spruce, Birch, Jungle, Acacia, Dark Oak) aligned with IC2 CropBaseSapling: Each harvest drops 1 Wood Log, a 25% chance for a Sapling, and Oak has an additional 25% chance for an Apple. Previously the log was registered but never dropped, and harvesting only yielded leaves (IC2 does not drop leaves).
  • Storage Box: The "Items: x / y stacks" tooltip previously never displayed (read the wrong save format), now displays the occupied slot count.
  • GameTests: PlayerFeedbackGameTests (17 items), FabricatorStressGameTests (full-power stress tests: Matter Fabricator with 1M EU/t input and 4 transformer upgrades; Large Fabricator with 4 full-buffer input modules). Dev tools: CaptureDirector added -Dsi.capture.jei=TRANSFER (checks missing material detection for the crafting "+" in JEI item by item) and -Dsi.capture.scene=feedback (in-game checks for sound muting, earmuffs, transformer upgrade prompt, and cable icons). API guide added Section 12.4 (Recipe API and machines from 0.1.10.14).

[SI] SingularityIteration-0.1.7.26.1-beta

Choose a tag to compare

@2132937983 2132937983 released this 02 Oct 20:20
2406118

奇点迭代变更日志

累计记录 0.1.7.16 至 0.1.7.26.1 的源码、资源、功能与修复。按交付版本归档;操作入口和机制以后续版本说明为准。

0.1.7.26.1

进度成就

  • 新增本模组进度页签「奇点迭代」,共 18 项成就:奇点迭代(进入世界,根节点,图标为量子头盔)、工业时代、一锤定音、千锤百炼、次男不妙夹、工业时代:序章、黄金矿工!、「天行者」、工业事故、曼哈顿计划、三位一体、清洁能源、无中生有、重构现实、重新排列,而非无中生有、皮卡德舰长的订单、以及隐藏成就「大伊万」与「核电,轻而易举啊!」。
  • 结构为单主干加 3 条叶子支线:「天行者」挂在黄金矿工之下、「大伊万」挂在三位一体之下、反应堆熔毁挂在清洁能源之下。两个隐藏成就置于链尾,避免其 hidden 标记连带隐藏后续成就。
  • 页签背景使用 textures/achievements/background.png;页签名称与图标取自根节点(奇点迭代)。
  • 未完成/已完成使用不同文本:新增 AdvancementWidgetHintMixin,未完成时显示 advancements.mio_icif.<id>.hint(黄色操作提示),完成后显示 advancements.mio_icif.<id>.description(达成条件)。未提供 .hint 的进度自动回退为原描述,不影响其他模组的页签。
  • 补齐中英双语 title / description / hint 共 54×2 条文案。
  • 修复「清洁能源」误触发:minecraft:placed_block 对应的 ItemUsedOnLocationTrigger.TriggerInstance 只接受 player 与 location 两个字段,原先写入的 item 被 Codec 静默忽略,导致任意方块放置都能达成;现改为在 location 中使用 block_state_property 限定 mio_icif:reactor/block_reactor_vessel。
  • 需要自定义逻辑的 5 项成就(工业事故、三位一体、「大伊万」、反应堆熔毁、皮卡德舰长的订单)使用 minecraft:impossible,当前通过指令授予,待接入对应事件后再由代码发放。

进度页签彩蛋

  • 新增 AdvancementTabMiophaMixin:保持原版背景平铺(整张贴图作为 16×16 瓦片铺满),仅将平铺网格中的单个瓦片按概率替换为 textures/achievements/miopha.png,不替换整片背景。判定只对 mio_icif 命名空间的页签生效。
  • 彩蛋判定采用"先按概率决定是否出现、命中后再随机挑选一个瓦片"的两段式逻辑;结果按页签缓存,滚动与重绘时不闪烁,每次打开进度界面重新判定。当前 MIOPHA_CHANCE = 0.00001。
  • 贴图文件名必须全小写:ResourceLocation 的 path 仅允许 [a-z0-9/._-],含大写字母会在打开进度界面时抛出 ResourceLocationException。

电力泵

  • 抽取范围改为「正面前方空间」,且高度恒为 1 格:
    • 水平朝向(东南西北):自正面方格起沿朝向延伸 PUMP_RANGE_LENGTH = 8 格、同层横向 ±PUMP_RANGE_RADIUS = 8 格、高度 1 格;
    • 垂直朝向(上下):正面方格所在层,长宽各 ±8 格、高度 1 格(即泵正上方/正下方的一个平面)。
  • 保留并复刻 IC2 的流动液溯源(moveUp / moveSideways,TRACE_MAX_STEPS = 128):范围内优先抽取最近的源,范围内只有流动液时沿水流/岩浆流溯源命中上游源头。因此水平放置仍可取到自上方流下的水源,垂直朝上可借助岩浆流入逐步抽干正上方整片岩浆。
  • 移除原先的 64 步连通搜索及其 5×5 破坏性收尾,寻源与抽液过程不再修改世界。
  • 单罐单流体规则:储罐已有流体时只接受同种流体,避免反复锁定装不下的源而空转;缓存失效后立即重新寻源,仅完全找不到时才进入 20 tick 空闲重试节流。
  • workAreas() 返回上述抽取范围,接入既有的区域预览(GUI 左侧按钮与区域扫描器),不再额外提供常显渲染;调试期间临时加入的常显范围渲染已在交付前移除。

其他

  • mio_icif.mixins.json 的 client 数组新增 client.AdvancementTabMiophaMixin 与 client.AdvancementWidgetHintMixin。
  • 新增资源:data/mio_icif/advancement/*.json(18 个进度)、textures/achievements/background.png、textures/achievements/miopha.png。

0.1.7.26

装甲、材质与界面

  • 纳米与量子装甲恢复经典 64×32 防具模型和贴图,移除 .25 的专用 3D 装甲模型及相关着色逻辑;.25 的 128px 套装方案不作为本版最终表现。同步调整外观切换选项的文案。
  • 应用交付材质包中的 105 项物品贴图、5 项 GUI 贴图与 4 项动画元数据,共 114 项;GUI 标题按背景贴图明暗选择字色。
  • 外部 resources.zip 按实际像素差异选择合并;跳过像素相同资源、旧版本贴图及不可读取的两张混沌 Boss 图片。旧版 models/data/lang/sounds 不覆盖现有文件,保留已修复的 3D 武器、机械模型、配方、标签、语言和音效。
  • 修复工程原有两张混沌 Boss PNG。完整应用/跳过明细见 texture_pack_report.md。

数据完整性与诊断

  • 共享标签中的非原版条目改用 {"id": "…", "required": false},缺失 ID 时跳过该条目,防止整组标签失效而影响原版石头和矿石的镐挖掘。Curios 饰品条目也使用可选引用,兼容未安装 Curios 的环境。
  • 补齐 14 个需要工具的方块在镐挖掘标签中的条目,覆盖青铜/铀/高级铁存储块、采矿管道、脚手架、合金门、流体管道、核弹等。
  • 修正 5 个太阳能/量子发电机掉落表路径;为 GESU、钻油井部件、高炉、光子太阳能、中子聚合物机等 18 个方块补齐自身掉落表。移除未注册的挤压机掉落表。
  • 灌装配方 API 与柴油发电机使用实际注册的空单元,修复不存在的 mio_icif:cell_empty 引用。
  • 新增 DataIntegrityGameTests,检查标签条目、原版挖掘标签、工具门槛与掉落、掉落表引用及配方加载。
  • 发电输出、线缆连接与升级等级读取的异常增加限频诊断日志,同类日志最多每分钟输出一次,保留当前运行降级行为。

本次完整源码核对:data/*/tags/**/*.json 共 379 个标签文件、1,426 个非原版条目,全部设为可选;交付说明中的 368/1,322 计数与该核对值不同。

交付检查点:4be260109f190bf5968572160e16b8ac6909deb0。

源码归档补齐:原交付 ZIP 缺少辐射玻璃板和钛脚手架的两个掉落表;本次从同版交付 JAR 恢复其原始内容。同步源码及本地候选构建包含这两个文件;未修改用户原交付包。

0.1.7.25

崩溃、电网与仪表

  • 区域预览过滤玩家背包 InventoryScreen 和创造背包 CreativeModeInventoryScreen,并为 getMenu().getType() 增加异常兜底,修复打开背包时崩溃的问题。
  • 电网管理终端右上角增加 LOCAL / GLOBAL 切换。全局模式跨越变压器和子网,汇总全厂总发电与总消费,并按子网展示 Tier、机台数量与负载。
  • 能源终端使用共享 NetworkWalker,识别超合金导线、超导线缆、检测/分配线缆和各阶变压器,补齐电网拓扑遍历。
  • 储电箱并发充电与供电排查确认没有额外放电锁;保留 IC2 整包输出机制:MFE/MFSU 需先积蓄满一包 512/2048 EU 才会输出。当内部物品充电消耗超过输入时,可能持续无法攒满输出包。本项为机制说明与回归验证。
  • 电压检测仪增加示波器界面:DSP 风格波形、阶梯电压、电压/等级、瞬时电流、平均吞吐、设备分类和节点明细,超额定电压标红。
  • 手持检测仪并瞄准能源设备时显示详细电网 HUD;平时注视线缆显示其额定耐压,区分额定值与实时读数。
  • 感应炉超频升级同时加快升温与加工进度,按升级倍率结算能源消耗。

外观与开发验证

  • 移除 MFSU/储电箱正面屏幕,改为重工业放电插孔;动能机改为机械联轴器,热能机改为铜质导热接口,同步更新对应物品图标。
  • 装备控制台增加第 4 个外观(Appearance)页,使用内置资源包在 DSP 精修机械外观与经典 IC2 方块外观之间热重载切换。
  • 此版加入纳米装甲的碳纤维纹理、复合护板与青色缝线,以及量子装甲的暗色外骨骼、力场板和缓慢呼吸的蓝色发光线路,使用专用 3D 模型与 128px 图集;装甲方案在 .26 撤回,恢复经典防具表现。
  • 新增 Round25GameTests,覆盖背包崩溃关联路径、电网识别、跨变压器汇总、储电箱充电时供电、检测仪与感应炉超频等行为。交付方另记录普通/创造背包的实机验证,本次未重跑交互测试。

交付检查点:3ed6e8d6afba8e647dc7522724a925893c56f3bb。

0.1.7.24

机器正面与物品图标

  • 统一机器正面的顶部类别色条、凹入面板窗口和通风槽布局。
  • 按机器功能增加活塞、粉碎齿、喷嘴、转子、线圈、辊轮、电极等识别图案。
  • 物品栏图标改由对应机器的精修贴图渲染,使正面与物品图标一致,并延续 .23 的无角标设计。

多状态指示灯

  • 前面板底部灯条显示四种状态:熄灭表示空闲且无能源,绿色表示加工或发电,闪烁黄色表示加工缺电或发电机低输出待机,红色表示输出堵塞、缺少输入或被红石停止。
  • 状态由服务端计算,每 10 tick 检查,仅将变化按区块批量同步;玩家开始观察区块时同步现有灯状态。
  • 不为指示灯加载额外区块;客户端只在状态变化时更新模型,闪烁使用材质动画。
  • 加工间歇保留绿色最多 30 tick,减少短暂停顿引起的灯色跳变;缺电状态仍及时显示。
  • 增加 MachineStatus 公共 API、状态同步包、机器生命周期跟踪和对应模型渲染,并加入 Round24GameTests。

交付检查点:752621afd66f06b75fb5d9f7d1534ab337da4484。

0.1.7.23

  • 移除机器物品图标角落的圆形分类徽标,保留清晰轮廓和顶部类别色条。
  • 调整图标检查,验证角落不再被徽标遮挡;开发工具仍可选择生成带徽标的图标。

交付检查点:c4a8599adbcd52d6f3609fe07c989e1fe4c02714。

0.1.7.22

机器界面、电网与装备控制台

  • 机器升级槽、范围开关和经验领取入口移到左侧工具区,并登记 JEI 的额外界面范围;右上角留给 Inventory Profiles Next 等界面工具。
  • 电网终端增加额定与实际发电、需求与实际供电、耗电排行、趋势图和弧形指标;需求统计以请求能源的机器为准。
  • 装备控制台分为装备、能源、武装库区域;能源页显示收入、消耗、净收支、主要耗电功能、耗电排行和预计耗尽时间。

武装库与展示台

  • 遥控器支持 Curios charm / belt 饰品槽位;移除独立遥控器界面,召唤、返库和附近展示台套装交换统一通过装备控制台操作。
  • 与展示台交换时,将旧套装放到展示台;遥控器保留在玩家侧,不参与飞装回收。
  • 旧装备同时向不同方向脱卸后返库,新装备按部件展开并逐关节组装锁定。
  • 更新机器图标、精修模型、状态灯槽及多语言界面,并增加 Round22GameTests。
  • 此版本的圆形分类徽标在 .23 移除,状态灯显示在 .24 扩展为服务端同步的多状态灯。

交付检查点:0d3c503fa7dd58ee9742be99a97c3d01d2abb12e。

0.1.7.21

装备控制与操作入口

  • 将装备、工具及饰品的模式和参数统一交给装备控制台,支持从控制台管理背包和 Curios 槽位中的适用装备。
  • 将先进速子解裂枪的功率、多段打击、穿透、真实伤害参数,以及终极维生戒指的效率调节纳入控制台。
  • 移除旧手持物品调参界面及对应独立数据包;不再沿用 .20 的 Shift + 右键滑块说明。
  • 补充装备功能槽位和 Curios 喷气背包适配,完善中、英、日文界面说明。

机器与存档修复

  • 修复电力扫描仪恢复存档时被旧记录锁住的问题,清理会导致扫描停滞的遗留物品和扫描状态。
  • 电炉、感应炉通过界面直接向领取玩家结算积累经验,补全经验存储与领取处理。
  • 修正通用电量条绘制,满电状态按绿色显示。
  • 太阳能、地磁等相关发电机改为仅保留充电槽;迁移时弹出旧放电槽中的物品,避免物品留在不可见槽位。
  • 增加 Round21GameTests,覆盖扫描恢复、经验结算、充电槽迁移和控制台相关行为。

交付检查点:995bd541b80f1db56f2ffa84f783c6629cf65b9a。

0.1.7.20

扫描、加工与装备

  • 修复 OD / OV 扫描仪打开界面时缺少扫描数据导致反序列化失败的问题,改为带滚动条的单列结果列表。
  • 核对纳米电高炉的配方、摆放、供电和冶炼链路,补充扳手回收及普通拆除掉落机械外壳的说明。
  • 补全量子剑攻击属性与范围横扫判定。
  • 电力光源支持手持发生器右键拆除单点、潜行右键清除附近光源,并处理方块、流体和活塞对光源的覆盖或移动。
  • 更新光源发生器的工业手电筒模型、图标和贴图。

枪械、液冷与调参

  • 先进速子解裂枪加入功率、多段打击、穿透及真实伤害调节,随参数提高增加能耗。
  • 该版本提供手持调参滑块;此入口已在 .21 迁移到装备控制台。
  • 为等离子空气炮、步枪、速子枪和火箭筒等补充专用蓄能、开火及命中音效,修复烟雾效果同步。
  • 核反应堆加入进液、排热双罐与导管循环;有冷却液时优先处理热元件的积累热量。
  • 按流体类别映射冷却热容,覆盖氦、液氮、钠钾合金及通用冷却液等联动。
  • 终极维生戒指加入效率调节,以 100% 为初始基准。
  • 增加 Round20GameTests 和液冷相关验证。

交付检查点:4f701ff72c0ef10728dd5e77583bfa70812fddc5。

0.1.7.19

装备与配方查询

  • 将电池、电容包、电力工具及纳米 / 量子装甲等可充能物品的最大堆叠数量设为 1。
  • JEI 匹配忽略实时电量差异,补充高级机器所属配方类别和用途查询。
  • 为防具设置有效的装备音效,避免 Presence Footsteps 读取空音效时崩溃,并过滤电量变化引起的重复装备音。
  • 重做镭射枪的第三人称持枪姿态、第一人称后座力及分层激光表现。

防御塔、界面与核电

  • 将防御塔改为固定式矩阵核心电击塔,移除旧机械转头结构,更新核心、四柱线圈及多目标电击效果。
  • 更新高压压缩机、旋风粉碎机、金属成型机、感应炉和纳米电高炉的界面,处理标题和长文字遮挡。
  • 调整太阳能与地磁发电机槽位、图标、提示及本地化;该版本的双向槽位设计随后在 .21 调整为充电槽。
  • 精简流体边框,调整反应堆状态符号,金属成型机切换模式时播放机械音效。
  • 核反应堆增加 1x 至 16x 进料倍率调节,支持潜行加大步进;发热按进料倍率的 1.6 次方增长。
  • 增加 Round19GameTests,覆盖装备、配方、机器界面关联状态和反应堆倍率。

交付检查点:1f315921f0bab51693b6bd617e37b5b6c7328d4d。

0.1.7.18

武装库分段换装演出

  • 将换装流程细分为警报开舱、蓄压、射出、巡航、逆喷制动、悬停、入位和锁定阶段。
  • 装备依次出舱,按足部、腿部、胸甲、盾牌、武器、头盔的顺序完成换装。
  • 新装备接近玩家时回收旧装备,再完成骨骼吸附与锁定。
  • 为短距离召唤设置最低演出时长,改善贴近武装库时瞬间换装的表现。
  • 增加推进核心、离子焰与尾迹粒子,以及警报、舱盖、涡轮、反推和卡扣音效。
  • 调整飞行曲线、倾斜、悬停及入位缩放,完善多语言提示和武装库测试。

交付检查点:629162d4dc831cab5e2df618e0bb291ee96b643b。

0.1.7.17

跨模组供电

  • 增加 GregTech Modern 原生 EU 接口接入,按受电端电压限制和整安培规则送电,避免跨模组供电时错误过压。
  • 补充双向能源及电压边界的兼容 GameTest;保留 Modern Industrialization 联动验证。

武装库服务与展示台

  • 武装库加入「封锁 / 仅搬入 / 完全开放」三档存取模式,开放时允许 AE2 存储总线访问套装。
  • 完善 FE 接入、Mekanism 能量转换及 Botania 魔力装备维护路径。
  • 显示维修完成倒计时,预留召唤所需能源,维修完成时提供弹窗和提示音。
  • 增加装甲展示台,支持直接换装、潜行对调、方向微调、红石旋转及遥控器联动。
  • 完善装备脱卸回收、飞行、吸附与上身锁定效果,调整遥控器界面及完成提示。
  • 修订武装库服务、魔力维护的测试与开发拍摄辅助代码。

交付检查点:174fb5b6acb73d543019129e95f17bc02d3849c1。本节包含前置开发提交 9a7a50f98f1ef9f9ca2aed0a76b604e015ce6fdc;该开发提交尚保留 .16 版本号,功能随 .17 交付归档。

0.1.7.16

电网、储能与充电

  • 修复 GESU 成型后端口未正确注册为供电源的问题,补充结构状态变化时的端口更新。
  • 修正大电量同步的截断问题,采用高低位通道传输。
  • 减少手持充能物品因电量数据变化而反复触发的切换动画。
  • 将钍电池状态更新保持在服务端,避免客户端改值后被回滚。
  • 调整发电机及充电板结算,先模拟可吸收电量,再扣除实际成功充入的电量,避免充能失败时吞电。

模型、界面与开发工具

  • 调整经典机器的完整方块外形、面板和 32px 材质,重做特斯拉线圈的凹入框架及独立铜圈。
  • 处理模型共面重叠与闪烁,修正武器及机械模型的相关资源。
  • 修复遥控器文字、行高及防御塔标题区域的遮挡。
  • 更新能量转换器物品模型,加入仅用于开发的拍摄辅助;该辅助不进入正式模组 JAR。
  • 增加 GESU 放电、充能守恒及显示同步相关验证。

交付检查点:3e60d9d70429e5cd8311f4efe5148f4d37531419。

源码基线与验证说明

  • 本次上游基线为 0.1.7.24-beta 的 2406118b172fc239544addc78696ff572f85ff22,已包含上一轮 .16–.24 的源码与变更日志。
  • .26 完整 ZIP 与 Git Bundle 核对无内容差异,仅存在行尾差异;另从同版 JAR 补齐两个 ZIP 遗漏掉落表。源码、资源与构建输入同本地候选工程逐文件一致。
  • Minecraft 1.21.1、Java 21;构建使用 Gradle 8.10.2 与 NeoForge 21.1.218,运行依赖范围为 NeoForge [21.1,)。Core 已内置于主模组,独立 Core JAR 用于附属开发。
  • 本地缓存依赖离线 build 通过,包含 Core 架构、分发与附属示例编译;test 为 NO-SOURCE。
  • 交付报告记录 158 项基础服务端、164 项兼容服务端及 4 项 GTM GameTest 通过;这些测试没有在本轮重新执行。交付预览图是开发侧证据,不计为本轮客户端实测。
  • 本轮检查 JAR、JSON、PNG、Mixin 及现用 EMT dev.6/SI SlashBlade dev.8 的静态接口;具体候选身份与结果保存在维护候选回执。
  • .26 已加入下一轮候选;当前生产整合包为 2.21.4,运行 .24,本次源码同步没有部署生产。

Singularity Iteration Changelog

Cumulative record of source code, resources, features, and fixes from 0.1.7.16 through 0.1.7.26.1. Archived by delivery version; operation entries and mechanisms are subject to subsequent version descriptions.

0.1.7.26.1

Advancement Progress

  • Added a mod advancement tab "Singularity Iteration" with 18 advancements: Singularity Iteration (enter world, root node, icon is quantum helmet), Industrial Age, One Hammer Strike, Thousand Hammers, Not-So-Great Sandwich, Industrial Age: Prologue, Gold Miner!, "Skywalker", Industrial Accident, Manhattan Project, Trinity, Clean Energy, Creation from Nothing, Reality Restructuring, Rearranging Rather Than Creating from Nothing, Captain Picard's Order, and hidden advancements "...
Read more

[SI] SingularityIteration-0.1.7.15-beta

Pre-release

Choose a tag to compare

@2132937983 2132937983 released this 30 Sep 18:19

更新日志 v0.1.7.15

杂交农业对齐 IC2 Experimental

  • 按本地 IC2 2.8.221-ex112 复原 52 种对应作物的等级、五属性、阶段、环境要求与收成;保留钛、铀等项目扩展。
  • 恢复 256 tick 作物周期、环境供需及低环境死亡、四亲本加权杂交、遗传变异、单株扩散、杂草侵占和 Weed-EX 防护。
  • 补全双架杂交、右键收获、左键取种、深层矿物根系、手动补水/施肥/除草剂;修复地狱疣积累进度却不长阶段。基础花卉和蘑菇每次消耗 4 个种植物。
  • 修正高斯收成及逐份副产物,移除空袋复制活株、种植返袋、重复增产和树苗额外掉原木;恢复红麦信号/发光、毒花、食人花、疣类转化等行为。
  • 补齐小堆钻石粉、末影珍珠粉、牛奶疣、油莓、Bob 浆果和关联粉末资源。
  • 对齐分析仪逐级收费和输出等待,并支持附属种子接口;对齐管理器/收割机逐点扫描、耗能、补给、水箱、升级槽和界面。
  • 保留旧注册 ID 和种子属性;旧格式 IC2 作物首次加载仅清零采用旧单位的阶段进度。作物架现在要求耕地,旧矿物直种布局需调整。
  • 新增 15 项农业服务端回归测试;完整范围、迁移规则与验证边界见 实施记录。

地热发电机对齐核查(2026-09-30)

本节为核查结论,本轮未改动地热发电机代码。

  • 对齐基准为 IC2 1.12.2 TileEntityGeoGenerator + TileEntityBaseGenerator,以及重构前 source/用作修复2/.../mio_icif_geo_generator.java。
  • 性质参数已对齐:发电 20 EU/t(原版 super(20.0D, ...) 对应 ENERGY_GENERATION_RATE = 20L)、储能 2400、LV 电压与 32 EU/packet 输出包、岩浆罐 8000 mB、只接受岩浆、10 EU/mB 消耗比(原版 drainInternal(2)/tick × 20 EU 等价)、每桶总发电 10000 EU、以及输入(27,21)/输出(27,54)/电池(117,49) 的槽位坐标。
  • 未对齐项:balance/energyfix/generator/geothermal 配置乘数缺失(现为硬编码 20)、Generators/GeothermalLoop.ogg 运行音效未实现、破坏时 1000 mB 岩浆泄漏(FluidSpilledEvent)未实现。
  • 未接管路径存在燃料丢失:现为「先预扣整桶、再倒计时」模型,储能满时 generateEnergy() 不执行但 burnTime 仍递减,归零后直接清除未发电余量;中途出现满仓 tick 会导致每批数百 mB 岩浆凭空消失且不产 EU。原版以 needsFuel() / isConverting() 保证满仓时一滴都不抽。该缺陷与 用作修复2 一致,属历史遗留而非本轮重构引入。
  • 接管路径新增 checkNearbyLavaBlocks() 邻接熔岩发电(1 EU/t/面),与 source/用作修复/SCEX-R28.md:11「开启接管时相邻世界熔岩不发电」的已验收契约冲突;邻接熔岩发电属 SI 自有扩展,IC2 原版无此机制,未接管路径保留该扩展属既定设计。此项需确认是回归还是有意的契约升级。
  • 其他:mio_icif_Block_Geo_Generator.java:28 注释「每桶岩浆发电量 40,000FE」有误,实际常量为 ENERGY_PER_BUCKET = 10000;父类改为 AbstractGeneratorBlockEntity 后对外供电改由 EnergyCompatibility.findEuStorage / pushDirect 接管。文件当前编译无错误。

热核取热链路梳理(2026-09-30)

本节为梳理与命名澄清,本轮未改动相关代码。

热交换器与热传导器

  • 澄清命名:反应堆内组件「热交换器」为 item_reactor_heat_switch,热交换机槽位用品「热传导器」为 item_heatconductor,两者是不同物品。热交换机源码注释把该槽位称作「热交换器槽」属措辞不准,实际 canPlaceItem 校验的是 mio_icif_resources.HEATCONDUCTOR,热交换器放不进去。
  • 反应堆内热交换器为堆内热量搬运组件:ReactorComponentType.HEAT_EXCHANGER,从燃料棒吸热后沿相邻元件链传递至元件散热片排热,自身储热超限会熔毁。四个型号参数为——基础热交换器 2500 储热、向相邻传 12、向堆体传 4;元件热交换器 5000、向相邻传 36、不向堆体传;反应堆热交换器 5000、不向相邻传、向堆体传 72;高级热交换器 10000、向相邻传 24、向堆体传 8。
  • 「向相邻传递」用于构造燃料棒—热交换器链—元件散热片的导热桥;「向反应堆传递」用于把热灌入堆体,是取热发电布局的关键件。另外 mio_icif_heat_exchanger 虽类名为 heat_exchanger,实为单/三/六联冷却单元,属另一类组件。
  • 热交换机(block_heat_source_fluid)负责把热冷却剂转为冷却剂并输出 HU:每装 1 个热传导器提供 10 HU/t,10 个槽装满封顶 100 HU/t,空机不产热。热冷却剂按 20 HU/mB 折算(FluidReactorCycle 常量与热交换机 HU_PER_MB 一致)。

取热发电效率对照

  • 每 HU 产电:进阶斯特林发电机 0.85;斯特林动能发生机 + 基础动能发电机 0.75(4 HU + 1 mB 水 → 12 KU,基础动能发电机 4 KU = 1 EU);斯特林发电机 0.5;蒸汽发生器 → 汽轮机 → 基础动能发电机约 0.499;配涡轮或双涡轮仅 0.085 / 0.12,因 isNaturalKineticSource() 只认水力与风力,这里的 KU 被判为人工动能而遭 10% 惩罚。
  • 不使用进阶斯特林发电机时的推荐链路为热交换机 → 斯特林动能发生机 → 基础动能发电机。单组上限 250 EU/t:KU 仅从正面输出,且基础动能发电机 KineticReceiverStorage(10000, 1000) 每 tick 最多接收 1000 KU;对应消耗 333 HU/t 与 83 mB 水/t,产出的等量热水必须持续排走,否则液热槽占满即停机。
  • 若斯特林动能发生机也不用,则斯特林发电机(0.5)与蒸汽链(0.499)基本持平,选斯特林发电机可免去供水、冷凝机、蒸馏水槽堵塞与超压爆炸风险。
  • 公共瓶颈仍在热交换机:单台 100 HU/t 且只从正面输出热,与所选发电方案无关。
  • 验证边界:以上效率为按代码换算推导,目前实机验证只覆盖到反应堆加九台换热机与蒸汽发生器(见 用户九机回流修复),热交换机之后的各条发电链路尚无 GameTest 背书,建议小规模试跑一组再扩容。

建筑泡沫 / 脚手架 / CF 喷枪对齐 IC2 1.12.2(2026-09-30)

本轮以本地 source/IC2Code 1.12.2(industrialcraft-2-2.8.221-ex112)为基准,重构泡沫、脚手架与 CF 喷枪。

建筑泡沫 mio_icif_block_foam

  • 硬化改为对齐 IC2 BlockFoam.updateTick 的随机刻公式:chance = 1/(hardenTime*(16-light)*20) * 4096/randomTickSpeed,hardenTime 普通 300、强化 600;光照取方块自身与相邻方块(方块光)最大值,黑暗下极慢但非绝对不硬化(与源码一致)。
  • 方块属性对齐:硬度 0.01、爆炸抗性 10、羊毛音效;未硬化前无碰撞箱、实体可穿过(对齐 getCollisionBoundingBox 返回 null)。
  • 手持沙子右键立即硬化并消耗 1 个沙子(对齐 onBlockActivated)。
  • 掉落与产物对齐 FoamType:普通泡沫硬化成 CF 墙、破坏不掉落;强化泡沫硬化成强化石(防爆石)、破坏掉落 1 个铁脚手架。

新增方块:CF 墙 build/block_cf_wall

  • 注册 CONSTRUCTION_FOAM_WALL(mio_icif_blocks),作为普通泡沫的硬化产物。
  • 补齐资源:方块状态、方块模型(复用 block_foam 贴图)、物品模型、掉落表、中英文名(建筑泡沫墙 / CF Wall)、mineable/pickaxe 与 needs_stone_tool 标签。

脚手架 mio_icif_block_scaffold

  • 悬空强度对齐 IC2 ScaffoldType:木 2 / 铁 5;项目附加档沿用为钢 8 / 碳纤维 12(对应 IC2 加固木 5、加固铁 12 的延伸区间)。
  • 新增 reinforced 方块状态与右键加固:木质脚手架 +2 根木棍 → 加固(强度 5);铁质脚手架 +1 个铁栅栏 → 加固(强度 12);需位于与地面相连的立柱上,钢/碳纤维档不可加固(对齐 onBlockActivated + isPillar)。
  • 掉落对齐:加固脚手架被破坏时额外返还加固材料(木脚手架 +2 木棍 / 铁脚手架 +1 铁栅栏)。
  • 攀爬对齐 BlockScaffold:改用 entityInside(重置摔落距离、水平限速 ±0.15、潜行 0.08(水中 0.02)、贴墙 0.2、否则 ≥ -0.07)配合 isLadder 实现,并移除旧的 EntityTickEvent 反射式攀爬事件;随机刻改为 1/8 概率兜底检查支撑,放置检查沿用 IC2 的木质强度判定。
  • 同步更新 5 个脚手架方块状态文件(木/铁/钢/碳/钛),加入 reinforced 变体。

CF 喷枪 CFSprayerItem

  • 改为对齐 IC2 ItemSprayer 的流体模型:容量 8000 mB、每方块消耗 100 mB 建筑泡沫流体;在 mio_icif_capacities 注册 Capabilities.FluidHandler.ITEM。
  • 仅保留 IC2 的两种模式:普通(BFS 泛洪最多 10 格)与单格(1 格),Shift+右键切换。
  • 目标识别与放置对齐 sprayFoam:优先识别 脚手架 / 线缆,否则在点击面相邻位置喷洒;铁类脚手架 → 强化泡沫并掉落铁栅栏,木质脚手架 → 普通泡沫;线缆以泡沫封装。
  • 耐久条、悬停提示与创造标签满装载态改按流体量显示。
  • 灌装机(mio_icif_canner_elc)补充喷枪的逻辑改用喷枪流体接口(每次最多注入 1000 mB 建筑泡沫流体)。

迁移与验证

  • 迁移提示:喷枪储量由旧的「耐久度 256 点」改为流体 NBT(FluidId / FluidAmount),旧存档中的喷枪泡沫数值不会迁移,需在灌装机中重新补液;脚手架新增 reinforced 状态,旧存档脚手架默认保持未加固。
  • 本轮改动已逐行复核;Gradle 仅编译 src/main/java(+ core),不含任何历史快照目录。
  • 备注:若 IDE 报出「fillFluid / 四参构造 未定义」之类错误,多为 backup/、source/ 中同包同名的旧类副本被 Java 语言服务器索引所致,已在 .vscode/settings.json 的 java.import.exclusions 中排除这些目录;重启语言服务器后即消失,与源码无关。

Tick 性能与稳定性重构(2026-09-30)

本轮合并 source/修复代码 分支(基准 0.1.7.14-beta,2 个提交、36 个文件)。合并方式为逐处对比搬运,未整文件覆盖:src 侧另有大量本地修改,整文件覆盖会丢失这些改动,因此只搬运本次涉及的调用点,其余一律保留 src 现状。

性能优化

  • 配方查询缓存化:新增 core/runtime/processing/RecipeLookupCache。输入槽的物品、组件与数量与上次相同时直接返回上次结果,跳过 getRecipeFor 的全量遍历;命中结果用 RecipeManager#byKey 做一次哈希校验,/reload 后不会返回失效配方;负结果缓存 NEGATIVE_TTL_TICKS = 20 tick(1 秒),闲置或卡料机器的查询开销降为 1/20;未命中时先试上一次匹配的配方再回退全量检索。
  • 覆盖范围:14 个机器文件、每个调用点独立缓存实例(避免同机器内不同操作互相淘汰)——压缩机、打粉机、提取机、电炉、感应炉、洗矿机、热力离心机、方块切割机、金属成型机(3 种模式)、分子机、高炉(普通 / 高级)、工业工作台、批量合成器。mio_icif_batch_crafter 中一处静态方法调用因无实例保持原样。灌装机的 CannerRecipeCache 属既有实现,不在本轮范围。
  • 机器基类削减每 tick 开销(AbstractProcessingMachineBlockEntity):未安装任何抽入/弹出升级插件时 hasAutomationUpgrade() 直接提前返回,省去方块注册表查找、槽位遍历与相邻方块查询;能量 Profile 结果按实例记忆化一次(standardProcessor,方块类型不会中途改变)。
  • 相邻方块 Capability 查找接入缓存:6 个朝向各建一个 NeoForge BlockCapabilityCache(物品 / 流体各一组),相邻方块变动由引擎侧自动失效刷新;保留「仅当相邻存在 BlockEntity 时才操作」的原有契约,非相邻 6 面的特殊位置与客户端调用仍走原路径。
  • 储罐客户端同步节流:新增 core/runtime/sync/ClientSyncThrottle(MIN_INTERVAL_TICKS = 5)。静止后首次变化立即发送,之后 5 tick 内的连续变化合并为 1 次、在 ServerTickEvent.Post 统一补发,保证最终状态必定送达,HUD 液量最大延迟 5 tick;非主线程调用即时原样发送,已移除的方块自动清理。

缺陷修复与防崩溃

  • 喷气背包多线程并发:JetpackFlightController 移除冗余的 flyingPlayers(该 WeakHashMap 在单人模式被客户端/服务端双线程并发写入,且写入的值在同一次调用中读回、恒等于局部变量);记录飞行 tick 的 ACTIVE_TICKS 拆分为 SERVER_ACTIVE_TICKS / CLIENT_ACTIVE_TICKS 两张 ConcurrentHashMap,修复单人模式下同一 UUID 两端互相覆盖导致的 isFlying() 状态闪烁。
  • 高级量子胸甲:删除只 remove() 从未读取的静态 flyingPlayers 及无用 import。
  • 多方块结构注册表线程安全化:ActiveMultiblocks 的 register / unregister / getStructureAt / getStructureByController / getAllStructures / isControllerAt 全部加 synchronized;getAllStructures 返回 List.copyOf 快照而非实时视图,避免外部遍历时结构变动抛并发修改异常。

注释乱码修复

  • 修复 14 个文件中的 GBK/UTF-8 错乱注释,还原为原始中文/日文;仅处理注释,未触碰代码逻辑与字符串字面量。
  • 交叉校验:转换结果若含乱序字符集则放弃,避免误伤原本正常的中文。个别乱码阶段已丢失字节的字符未做推测(如「完全依靠能工作」漏字),mio_icif_solar_distiller.java 中无法确认还原的 34 处保持原样。

未改动与验证边界

  • 能源网络保持原样:IndependentSiEnergy 等原有逻辑已具备 per-tick 计算上限控制,为避免无实机测试时引发断电或计算异常,本轮未做侵入性改动。
  • 未执行构建:上述结论来自逐文件对照与 IDE 诊断(0 error),非实测结果。上游云端构建虽报 BUILD SUCCESSFUL,但其 Linux 端 lwjgl/netty 为空 JAR 占位,未真正运行客户端。
  • 待实机验证:加工机器连续加工、储罐管道注入与多段组合注入、喷气背包飞行与落地切换、多方块结构成形与拆除。
  • 遗留:乱码注释按日志应为 17 个文件 57 行,本次按乱码特征词定位到 14 个,剩余 3 个未定位(纯注释,不影响运行)。

批量工作台对齐 IC2 1.12.2(2026-09-30)

对齐基准为本地 source/IC2Code 1.12.2(industrialcraft-2-2.8.221-ex112)的 TileEntityBatchCrafter / ContainerBatchCrafter / GuiBatchCrafter / InvSlotUpgrade;对照文件为 mio_icif_batch_crafter、BatchCrafterMenu、mio_icif_gui_batch_crafter、mio_icif_block_batch_crafter、JEIPlugin。

已对齐核查项(本轮结论为一致,未改动)

  • 性质参数:储能 20000 EU、tier 1(= MV)、能耗 2 EU/t、基础周期 40 tick、4 个升级槽、升级属性 Processing / Transformer / EnergyStorage / ItemConsuming / ItemProducing。
  • 槽位结构与坐标:影格 3×3(30+x·18, 17+y·18)、产物槽(124,35)、原料行 9 槽(8+i·18, 84)、容器返还 9 槽(8+i·18, 102)、升级 4 槽(152, 8+i·18)、电池槽(8,62)、GUI 高度 206、进度条(90,35)、产物预览(94,14)。
  • 合成配方 " I "/ACA/HWH(工业工作台 + 高级电路 + 高级机壳 + 锤 + 扳手)、方块硬度 2.0 / 抗性 10.0 / 需正确工具、中英文名(批量工作台 / Batch Crafter)。

执行模型还原

  • 超频模型:改用 StandardProcessingTiming(ops = ceil(1/duration)、ticks = round(duration·ops)),与 IC2 getOpsPerTick / getOperationLength / getEnergyDemand 逐值等价。修复前为「每 tick 加 ceil(1/mult) 点进度、周期恒 40、每次只产 1 件」,1 超频实测口径为 20 tick / 60 EU·件⁻¹,而 IC2 为 28 tick / 84 EU·件⁻¹。容量同步改走 IC2 公式 20000 + 周期×能耗 + 10000/储能升级,并移除 IC2 不存在的 OVERCLOCKER_ENERGY_BONUS;周期长度写入存档(scex_operation_ticks),读档按比例还原进度,超频数变动不会丢进度或溢出。
  • 每 tick 时序:自实现 tickProduction(),还原 IC2 updateEntityServer 顺序——每 tick 只付一次电费、++progress 到达 operationLength 当 tick 即产出、并在周期内执行 operations() 次合成。修复前在到达后的下一 tick 才产出(实际 41 tick/件)且单周期只产出一件。
  • 进度清零条件:仅「影格无配方」清零,输出满 / 缺电 / 原料暂时不足都保留进度;并覆写 checkInputChanged() 为空实现,取消原先「原料槽物品变化即清零」的行为。
  • 容器返还槽:还原 IC2 InvSlot.InvSide.NOTSIDE,不再对侧面开放抽取,也不作为自动输出槽参与 ejector。
  • 产物门禁:产物只写入 CRAFTING_OUTPUT_SLOT,移除原「溢出到 9 个容器槽」的逻辑,恢复 IC2 craftingOutput.canAdd() 的闸门。
  • 原料均摊:balanceIngredients() 改为 StackUtil.balanceStacks 等价实现(组内总量平均分配、跳过持异物槽、写回经 setStackInSlot + setChanged);触发点为每 tick(onTick)、影格变更(matrixChange)、原料行内容变更(新增 createItemHandler 覆写)。修复前为两两 diff/2 的启发式,且唯一触发源 ingredientChanged() 无调用者。
  • 菜单 shift-click:新增 moveIngredientsBalanced(),逐层轮询均摊到所有可接受槽,对应 IC2 ContainerBatchCrafter.handlePlayerSlotShiftClick,替代原先的顺序填槽。
  • 比较器输出:新增 getComparatorLevel() = progress * 15 / 周期,方块侧接 hasAnalogOutputSignal / getAnalogOutputSignal,对齐 IC2 comparator.setUpdate。

每 tick 查询优化

  • canCraft() 增加原料行快照(9 槽的物品、组件与数量),仅在影格变更 / 行内容变更 / 完成一次合成 / 读档后重...
Read more

[SI] SingularityIteration-0.1.7.9-beta

Pre-release

Choose a tag to compare

@2132937983 2132937983 released this 03 Sep 18:32

v0.1.7.9 更新日志

新增内容

涡轮增压动能发电机 (Turbo Kinetic Generator)

  • 方块实体:Blocks/entity/generator/mio_icif_turbo_kinetic_generator.java
  • 方块类:Blocks/generator/mio_icif_Block_turbo_kinetic_generator.java
  • Menu:Menu/Generator/TurboKineticGeneratorMenu.java
  • Screen:Screen/mio_icif_gui_turbo_kinetic_generator.java
  • 注册:
    • mio_icif_block_entities.java → TURBO_KINETIC_GENERATOR_ENTITY_TYPE
    • mio_icif_blocks.java → TURBO_KINETIC_GENERATOR
    • mio_icif_menus.java → TURBO_KINETIC_GENERATOR_MENU
    • mio_icif_screens.java → TURBO_KINETIC_GENERATOR Screen 注册
    • mio_icif_capacities.java → KU/EU/ItemHandler 能力注册
    • CreativeItems.java → 创造模式物品栏
  • 资源/数据:
    • Blockstate + 2 个 Block Model(开/关状态)
    • Item Model
    • 语言文件(en_us / zh_cn)
    • 方块标签:generator / machine / needs_stone_tool / mineable/pickaxe
    • 合成配方:shaped_turbo_kinetic_generator.json
    • 战利品表:block_turbo_kinetic_generator.json
  • 行为参数:
    • EU/KU 比率:0.85(对齐 METS TileEntityAdvancedKineticGenerator)
    • 能量容量:200,000 EU
    • 最大输出:512 EU/t(HV 等级)
    • 动能容量:20,000 KU,最大接收 2000 KU/t
    • 有效百分比:自然能源 100%,人工能源 10%
  • 合成配方(对齐 METS BlockManager:154-164):
    SSS   S = 钛板 (item_titanium_plate)
    GMX   G = 普通动能发电机 (block_kinetic_generator)
    SSS   M = 钛铁合金转子 (item_titanium_iron_alloy_rotor)
          X = 精英电路 (c:circuits/elite)
    

双涡轮增压动能发电机 (Twin Turbo Kinetic Generator)

  • 方块实体:Blocks/entity/generator/mio_icif_twin_turbo_kinetic_generator.java
  • 方块类:Blocks/generator/mio_icif_Block_twin_turbo_kinetic_generator.java
  • Menu:Menu/Generator/TwinTurboKineticGeneratorMenu.java
  • Screen:Screen/mio_icif_gui_twin_turbo_kinetic_generator.java
  • 注册:
    • mio_icif_block_entities.java → TWIN_TURBO_KINETIC_GENERATOR_ENTITY_TYPE
    • mio_icif_blocks.java → TWIN_TURBO_KINETIC_GENERATOR
    • mio_icif_menus.java → TWIN_TURBO_KINETIC_GENERATOR_MENU
    • mio_icif_screens.java → TWIN_TURBO_KINETIC_GENERATOR Screen 注册
    • mio_icif_capacities.java → KU/EU/ItemHandler 能力注册
    • CreativeItems.java → 创造模式物品栏
  • 资源/数据:
    • Blockstate + 2 个 Block Model(开/关状态)
    • Item Model
    • 语言文件(en_us / zh_cn)
    • 方块标签:generator / machine / needs_stone_tool / mineable/pickaxe
    • 合成配方:shaped_twin_turbo_kinetic_generator.json
    • 战利品表:block_twin_turbo_kinetic_generator.json
  • 行为参数:
    • EU/KU 比率:1.2(对齐 METS TileEntitySuperKineticGenerator)
    • 能量容量:400,000 EU
    • 最大输出:2048 EU/t(EV 等级)
    • 动能容量:40,000 KU,最大接收 4000 KU/t
    • 有效百分比:自然能源 100%,人工能源 10%
  • 合成配方(对齐 METS BlockManager:166-176):
    SES   S = 铱 (item_iridium)
    GMG   G = 涡轮增压动能发电机 (block_turbo_kinetic_generator)
    SES   M = 超级铱合金转子 (item_super_iridium_alloy_rotor)
          E = 超频散热片 (item_reactor_golden_vent)
    

修复内容

  • 新增发电机的 Capability 注册:补全 KINETIC_STORAGE_BLOCK(KU接收)、EUApi.SIDED(EU输出)、Capabilities.ItemHandler.BLOCK(物品栏/电池充电)、API KineticStorage 适配,确保 Jade 状态栏正常显示能量条
  • 方块模型纹理引用修正:4 个 block model JSON 从占位的 block_kinetic_generator 更新为 block_turbo_kinetic_generator / block_twin_turbo_kinetic_generator 对应纹理

钛制储物箱 & 钛储罐(METS 重构)

钛制储物箱 (Titanium Storage Box)

  • 方块注册:mio_icif_blocks.STORAGE_BOX_TITANIUM → build/block_titanium_storage
  • 方块实体:继承 mio_icif_storage_box,84 组槽位(对齐 METS)
  • 方块标签:minecraft:mineable/pickaxe、c:needs_iron_tool、c:machine、mio_icif:energy_container

钛储罐 (Titanium Tank)

  • 方块注册:mio_icif_blocks.TITANIUM_TANK → build/block_titanium_tank
  • 方块实体:mio_icif_titanium_tank_entity,128,000 mB(128 桶)容量(对齐 METS)
  • 多方块流体合并:参考 BuildCraft 独立存储 + 再平衡模型,上下相邻钛储罐自动合并为统一结构,每个储罐独立存储流体,balanceTankFluids() 从上往下压实确保流体守恒,MultiTankHandler 提供统一的 IFluidHandler 对外接口
  • 连接纹理 BlockState:CONNECTED_UP / CONNECTED_DOWN 布尔属性,根据上下邻居是否为钛储罐动态切换模型:
    • single:独立储罐
    • bottom:结构底部(上方有连接)
    • top:结构顶部(下方有连接)
    • center:结构中间(上下均有连接)
  • 六面条带纹理:96x16 条带纹理图,每面 16x16 像素
  • 已移除右键交互功能:删除 useWithoutItem() 和 useItemOn() 方法

合成配方(对齐 METS BlockManager:307-316, 595-602)

  • 钛制储物箱:shaped_titanium_storage_box.json
    PSP   P = 钛板 (item_titanium_plate)
    S S   S = 钛外壳 (item_titanium_casing)
    PSP
    
  • 钛储罐:shaped_titanium_tank.json
    GGG   G = 钛外壳 (item_titanium_casing)
    TMT   T = 铁桶 (minecraft:bucket)
    GGG   M = 基础机器外壳 (block_machine_hull_basic)
    
  • 材料映射:METS 的 casingTitanium → item_titanium_casing,plateTitanium → item_titanium_plate,IC2 resource/machine → block_machine_hull_basic

世界生成调整

钛矿石生成概率调至类铁矿

  • configured_feature:titanium_ore.json / titanium_ore_deep.json 的 size 从 7 调至 9(矿脉大小,对齐铁矿)
  • placed_feature(普通):titanium_ore_placed.json 的 count 从 10 调至 20,高度范围从 -6432 扩展至 -6472(对齐铁矿)
  • placed_feature(深层):titanium_ore_deep_placed.json 的 count 从 8 调至 20,高度范围从 -640 调整至 -64-24(对齐深层铁矿)

暮色森林矿石生成补全

  • 新增钛矿石暮色森林生成(之前缺失):
    • titanium_ore_twilight_forest_placed.json:count=20,高度 -16~72(类铁矿)
    • titanium_ore_deep_twilight_forest_placed.json:count=20,高度 -64~-24(类深层铁矿)
    • biome_modifier/titanium_ore_twilight_forest.json + titanium_ore_deep_twilight_forest.json
  • 新增铌矿石暮色森林生成(之前缺失):
    • niobium_ore_twilight_forest_placed.json:count=4,高度 -16~16(稀有,与主世界一致)
    • niobium_ore_deep_twilight_forest_placed.json:count=3,高度 -64~0(稀有,与主世界一致)
    • biome_modifier/niobium_ore_twilight_forest.json + niobium_ore_deep_twilight_forest.json

Changelog v0.1.7.9 (English)

New Content

Turbo Kinetic Generator

  • Block Entity: Blocks/entity/generator/mio_icif_turbo_kinetic_generator.java
  • Block Class: Blocks/generator/mio_icif_Block_turbo_kinetic_generator.java
  • Menu: Menu/Generator/TurboKineticGeneratorMenu.java
  • Screen: Screen/mio_icif_gui_turbo_kinetic_generator.java
  • Registrations:
    • mio_icif_block_entities.java → TURBO_KINETIC_GENERATOR_ENTITY_TYPE
    • mio_icif_blocks.java → TURBO_KINETIC_GENERATOR
    • mio_icif_menus.java → TURBO_KINETIC_GENERATOR_MENU
    • mio_icif_screens.java → TURBO_KINETIC_GENERATOR Screen registration
    • mio_icif_capacities.java → KU/EU/ItemHandler capability registration
    • CreativeItems.java → Creative mode tab
  • Resources/Data:
    • Blockstate + 2 Block Models (on/off states)
    • Item Model
    • Language files (en_us / zh_cn)
    • Block tags: generator / machine / needs_stone_tool / mineable/pickaxe
    • Crafting recipe: shaped_turbo_kinetic_generator.json
    • Loot table: block_turbo_kinetic_generator.json
  • Behavior Parameters:
    • EU/KU ratio: 0.85 (aligned with METS TileEntityAdvancedKineticGenerator)
    • Energy capacity: 200,000 EU
    • Max output: 512 EU/t (HV tier)
    • Kinetic capacity: 20,000 KU, max receive 2000 KU/t
    • Effective percentage: 100% natural energy, 10% artificial energy
  • Crafting Recipe (aligned with METS BlockManager:154-164):
    SSS   S = Titanium Plate (item_titanium_plate)
    GMX   G = Kinetic Generator (block_kinetic_generator)
    SSS   M = Titanium-Iron Alloy Rotor (item_titanium_iron_alloy_rotor)
          X = Elite Circuit (c:circuits/elite)
    

Twin Turbo Kinetic Generator

  • Block Entity: Blocks/entity/generator/mio_icif_twin_turbo_kinetic_generator.java
  • Block Class: Blocks/generator/mio_icif_Block_twin_turbo_kinetic_generator.java
  • Menu: Menu/Generator/TwinTurboKineticGeneratorMenu.java
  • Screen: Screen/mio_icif_gui_twin_turbo_kinetic_generator.java
  • Registrations:
    • mio_icif_block_entities.java → TWIN_TURBO_KINETIC_GENERATOR_ENTITY_TYPE
    • mio_icif_blocks.java → TWIN_TURBO_KINETIC_GENERATOR
    • mio_icif_menus.java → TWIN_TURBO_KINETIC_GENERATOR_MENU
    • mio_icif_screens.java → TWIN_TURBO_KINETIC_GENERATOR Screen registration
    • mio_icif_capacities.java → KU/EU/ItemHandler capability registration
    • CreativeItems.java → Creative mode tab
  • Resources/Data:
    • Blockstate + 2 Block Models (on/off states)
    • Item Model
    • Language files (en_us / zh_cn)
    • Block tags: generator / machine / needs_stone_tool / mineable/pickaxe
    • Crafting recipe: shaped_twin_turbo_kinetic_generator.json
    • Loot table: block_twin_turbo_kinetic_generator.json
  • Behavior Parameters:
    • EU/KU ratio: 1.2 (aligned with METS TileEntitySuperKineticGenerator)
    • Energy capacity: 400,000 EU
    • Max output: 2048 EU/t (EV tier)
    • Kinetic capacity: 40,000 KU, max receive 4000 KU/t
    • Effective percentage: 100% natural energy, 10% artificial energy
  • Crafting Recipe (aligned with METS BlockManager:166-176):
    SES   S = Iridium (item_iridium)
    GMG   G = Turbo Kinetic Generator (block_turbo_kinetic_generator)
    SES   M = Super Iridium Alloy Rotor (item_super_iridium_alloy_rotor)
          E = Reactor Golden Vent (item_reactor_golden_vent)
    

Fixes

  • Added generator Capability registrations: supplemented KINETIC_STORAGE_BLOCK (KU receive), EUApi.SIDED (EU output), Capabilities.ItemHandler.BLOCK (inventory/battery charging), API KineticStorage adapter, ensuring Jade status bar displays energy bars correctly
  • Block model texture reference correction: 4 block model JSONs updated from placeholder block_kinetic_generator to block_turbo_kinetic_generator / block_twin_turbo_kinetic_generator corresponding textures

Titanium Storage Box & Titanium Tank (METS Refactor)

Titanium Storage Box

  • Block Registration: mio_icif_blocks.STORAGE_BOX_TITANIUM → build/block_titanium_storage
  • Block Entity: Extends mio_icif_storage_box, 84 stack slots (aligned with METS)
  • Block Tags: minecraft:mineable/pickaxe, c:needs_iron_tool, c:machine, mio_icif:energy_container

Titanium Tank

  • Block Registration: mio_icif_blocks.TITANIUM_TANK → build/block_titanium_tank
  • Block Entity: mio_icif_titanium_tank_entity, 128,000 mB (128 buckets) capacity (a...
Read more