dysoncubeproject-addon-1.1.17.jar
Curse Maven Snippet
What's new
Dyson Cube Project Addon 1.1.17
中文
- 修复未安装 AE2 时的启动崩溃:此前未安装 AE2 会使 Mixin 报出
MixinTransformerError: an unexpected critical error was encountered并导致模组加载失败,且错误被归因到“戴森立方计划”本体,看起来像主模组损坏。原因是限制 AE2 输入输出端口的 Mixin 虽已标注@Pseudo,却仍以 AE2 类型声明字段,而未安装 AE2 时该类无法链接。现在该 Mixin 不再引用任何 AE2 类型,全部改为运行时反射,未安装 AE2 也能正常启动。 - 新增附属模组自带的 JEI 插件,注册新的“压缩”配方分类;此前压缩配方只能在工作台中合成,无法在 JEI 中查询。
- 该分类渲染真实的 3x3 输入格和输出格,可直接看到 9 个相同物品压缩为 1 个上一级物品。
- 将工作台注册为配方催化剂,使压缩配方可以从工作台中检索。
- 修复
CompressionRecipe单参数构造函数把null传入Optional.orElse(...)导致的潜在NullPointerException,构造函数现已空值安全。 - 为
en_us和zh_cn补充jei.dysoncubeproject.category.compression翻译键。 - 新增覆盖 JEI 接线的单元测试,包括用真实配方序列化器解码全部压缩配方 JSON;同时修复 Gradle
test任务类路径,使runtimeOnly依赖对测试可见。 - JEI 为可选依赖,未安装时附属模组功能不受影响;本版本仅支持 JEI,暂不包含 EMI 支持。
English
- Fixed a startup crash when AE2 is not installed. Without AE2 the addon previously triggered
MixinTransformerError: an unexpected critical error was encounteredand the mod failed to load, reported against Dyson Cube Project itself so it looked like the main mod was broken. The Mixin restricting AE2's IO Port was annotated@Pseudobut still declared a field typed as an AE2 type, which cannot link when AE2 is absent. It now references no AE2 type at all and uses runtime reflection instead, so the game starts normally without AE2. - Added the addon's own JEI plugin and registered a new "Compression" recipe category; the compression recipes previously worked in a crafting table but could not be looked up in JEI.
- The category renders the actual 3x3 input grid plus the output slot, showing directly that 9 identical items compress into one item of the next level.
- Registered the crafting table as the recipe catalyst so the compression recipes are discoverable from it.
- Fixed a latent
NullPointerExceptioninCompressionRecipe's single-argument constructor, which passednullintoOptional.orElse(...); the constructor is now null-safe. - Added the
jei.dysoncubeproject.category.compressiontranslation key for bothen_usandzh_cn. - Added unit tests covering the JEI wiring, including decoding every compression recipe JSON through the real recipe serializer, and fixed the Gradle
testtask classpath soruntimeOnlydependencies are visible to tests. - JEI is optional and the addon works without it; this release supports JEI only and does not include EMI support yet.
版本 / Version
- Minecraft
1.21.1 - NeoForge
21.1.64or newer - JEI
19.21.0.247optional (API compiled against19.21.0.247, works with JEI19.x) - AE2
19.2.17 - Flux Networks
8.0.0 - Titanium
4.0.45 - JAR:
dysoncubeproject-addon-1.1.17.jar
This mod has no additional files