跳到正文

AE2 Things: Reforged

作者:MerlinKitsune

A original AE2Things (Forge version) reworked edition. that retains all the features of the original mod.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

AE2Things Reforged

A reworked fork of AE2 Things: every feature of the original, the modern AE2 API on each Minecraft version, and a large amount of the extra performance overhead removed.

DISK = Deep Item Storage disK. A storage cell with no type limit — one item costs one byte.

Which file do I need?

Minecraft Loader Mod version Requires File
1.21.1 NeoForge 21.1.248 or newer 1.4.5 AE2 19.2.18 – 19.x, Java 21 AE2-Things-1.4.5.jar
1.20.1 Forge 47.1.47 or newer 1.3.1 AE2 15.4.12 – 15.x, Java 17 AE2-Things-1.3.1.jar

Both lines keep modId=ae2things, the same block and item ids and the same save format as the upstream release of their own Minecraft version, so they are drop-in replacements: existing worlds and existing disks keep working.

This is an alternative build of the same mod, not an add-on. Do not install it next to AE2 Things or AE2 Things Forge — replace the old jar.

What is a DISK?

  • A storage cell with no type limit: 1k / 4k / 16k / 64k / 256k, one item counts as one byte.
  • Because of the cell format it costs 24 bytes per kibibyte — a small price for unlimited types.
  • Works in an ME Drive; put it in an ME Chest to read it on its own.
  • Partition it in a Cell Workbench, and use Fuzzy / Inverter cards as usual.
  • /ae2things getuuid shows the id of the disk in your hand, /ae2things recover <uuid> [DISK] spawns a drive for that id (operator only).

Why use this fork?

Performance

The DISK keeps its contents in a side table (world/data/disk_manager.dat) instead of inside the item, which is what makes “no type limit” possible. The original mod rewrote that table on every single content change, and on a large network that became the biggest cost of the mod. This fork changes that:

  • A key is serialized once and the result is reused, instead of re-running the DFU codecs for every stored key on every persist.
  • Persisting a disk whose contents only changed in amount updates the stored amounts in place instead of rebuilding and re-encoding the whole key list.
  • The item count is tracked with a known delta instead of being recomputed from every stored key on each change.
  • Reading a disk no longer creates and dirties a table entry, so a disk that is only displayed or scanned does not touch the save file.
  • Loading the table no longer marks it dirty, so the first autosave after a world load does not rewrite the whole table.
  • Rendering no longer builds a full cell inventory every frame: item tint and tooltip read the state straight from the stack.

Bug fixes

  • Cloning a disk copies its contents, so a clone no longer shares — and overwrites — the contents of the original. /ae2things recover likewise mints a fresh id and copies the entry.
  • A disk whose amount list and key list have mismatched lengths no longer crashes or silently drops data.
  • A table entry that cannot be read is kept verbatim and written back instead of being erased, and one bad entry no longer wipes the rest of the table.
  • A cell that is only being capacity-probed no longer mints a disk id or writes item data.
  • Disassembling a disk removes its table entry, so empty entries no longer pile up.
  • Writing to a cell while the server-side table is unavailable is refused instead of silently keeping the contents in memory only.
  • Missing translation keys were added and previously hardcoded tooltips are now translatable.

Compatibility

  • AE2 MEGA Things: the command help text and the tooltip call path are kept byte-for-byte compatible with the mixins MEGA patches into this mod. Verified against MEGA Things 1.0.8 on 1.20.1 (full joint runtime test) and 2.0.4 on 1.21.1 (symbol and injection-point contract).
  • Works with the AE2 versions listed above and with anything else the upstream release worked with.

Install

  1. Install the matching Forge / NeoForge version and AE2 (Applied Energistics 2), plus GuideME if your loader needs it.
  2. Remove any older AE2 Things jar — only one mod with id ae2things may be loaded.
  3. Drop the matching jar into mods/. Both client and server.

Credits and license

  • Original mod by ProjectET (Fabric) and Technici4n (Forge / NeoForge port).
  • This fork is maintained by MerlinKitsune; it is not affiliated with or endorsed by the original authors.
  • MIT license. Source, issue tracker and full changelog: github.com/merlin-kitsune/AE2Things-Reforged.

常见问题

AE2 Things: Reforged 支持哪些 Minecraft 版本?

AE2 Things: Reforged 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

AE2 Things: Reforged 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

MerlinKitsune 的其他作品

查看全部 →