This is a culinary mod for Minecraft 1.7.10 originally created by Minetronic.
When starting a world, the game would crash with the following error:
java.lang.NullPointerException: Ticking memory connection
at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:101)
This error occurred due to a network failure when fetching the latest mod version through the JavaGetUrl class. The system didn't properly handle connection error cases, resulting in null during network packet processing.
The original MasterChef mod .jar was obfuscated (with unreadable names like func_148833_a). To restore readable names, I used BON2 (tterrag1098), a tool designed for 1.7.10 mods with MCP support.
After deobfuscation, I used the CFR decompiler to obtain the mod's .java source code.
- Organized packages and files into a ForgeGradle-compatible project.
- Fixed typing errors with
HashMap. - Added exception handling in
JavaGetUrlandMessageCheckerclasses. - Fixed
ItemChefGarblogic to preventConcurrentModificationException.
- Fixed incorrect map typing:
HashMap<Object, Object> → HashMap<String, ExtraSpeed>- Fixed
extraFurnaceSpeedvariable usage to properly accept typed maps. - Fixed
purgeList()logic to preventConcurrentModificationException.
- Added network exception handling.
- Fixed
InputStreamaccess. - Fixed separation between
VERSIONandEXTRA_INFO.
This project uses:
- ForgeGradle maintained by anatawa12, adapted to compile legacy mods (like 1.7.10) on modern Gradle setups: https://github.com/anatawa12/ForgeGradle-example
- Java 8 (recommended: Oracle JDK 1.8.0_202)
- Gradle 7.x+
./gradlew buildAfter building, the generated .jar will be in build/libs/.
- Install Forge 1.7.10 (recommended: 10.13.4.1614)
- Place the
.jarin.minecraft/mods - Start Minecraft with Forge
- 👨🍳 Minetronic — Original mod author
- 🛠️ anatawa12 — Modern ForgeGradle used for compilation
- 🔁 Fixes and maintenance: This fork was fixed with focus on maintaining mod compatibility, which was no longer working.
Suggestions, improvements, or fixes are always welcome.
You can help with:
- New recipes or items
- Graphics or performance improvements
- Translations and localization
- Compatibility with other mods