跳到正文

Effortless Building: AE2 Overflow Fix

作者:Florianfinn

Community fork that prevents Effortless Building client crashes from overflowing AE2 item counts.

收藏

介绍

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

This is an unofficial community fork of Effortless Building by Requioss for Minecraft 1.21.1 on NeoForge. It includes one targeted client fix for the ItemUsageTracker.computeItem crash tracked in upstream issue #36.

When an AE2 network reports Integer.MAX_VALUE items, adding the player’s inventory count with a 32-bit integer wraps negative. The block preview then accesses a negative list index and crashes. Preview calculation can run while the UI is closed and no building mode is actively used. This fork adds the counts using long and caps the result at Integer.MAX_VALUE.

Install: Replace the official Effortless Building 4.2 JAR with this file. Do not keep both JARs in mods, since they share the same mod ID. The server still needs Effortless Building for building features; our clients have worked with an unmodified 4.2 server installation.

The binary is the official 4.2 file with only the NeoForge ItemUsageTracker.class entry changed. Two affected players have reported no further occurrence so far; this is not a claim of complete compatibility testing. Source, exact patcher, license and provenance. Original work by Requioss and contributors. Fork change by florianfinn. Licensed under LGPL-3.0.

常见问题

Effortless Building: AE2 Overflow Fix 支持哪些 Minecraft 版本?

Effortless Building: AE2 Overflow Fix 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Effortless Building: AE2 Overflow Fix 怎么安装?

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

评论

登录后评论和评分

Florianfinn 的其他作品

查看全部 →