AE2 KeyCounter Overflow Fix
Fixes an integer overflow issue in Applied Energistics 2's `VariantCounter` that can cause AE2 key counts to overflow when approaching the `long` limit.
介绍
AE2 KeyCounter Overflow Fix
AE2’s VariantCounter uses a long to store the amount of each AEKey. When the stored amount approaches the maximum value of a long, adding more items can cause an integer overflow, resulting in an incorrect (potentially negative) amount.
This mod fixes this issue by preventing VariantCounter from exceeding the valid range of a Java long.
When an addition would cause an overflow, the amount is automatically clamped to the maximum or minimum representable value instead.
This mod is intended as a lightweight compatibility and bug-fix mod. It does not add any new gameplay features or content.
常见问题
AE2 KeyCounter Overflow Fix 支持哪些 Minecraft 版本?
AE2 KeyCounter Overflow Fix 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
AE2 KeyCounter Overflow Fix 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
takenokoshi_023 的其他作品
查看全部 →Astral Mekanism & Energistics
这个模组添加了多种机器,包括通用机械机器的高速版本。
Stack Upgrade Integration
让 Mekanism Extras 的堆叠升级适配通用机械及其部分附属模组中的机器。
Astral Mekanism & Energistics:Dynamics
加入强力的榨汁机和晾晒盆!!
Astral Mekanism & Energistics:Cognition
加入强力的 Molecular Metamorpher!!
评论
登录后评论和评分