Wrong Minecraft versionIllegalAccessError: ItemStack.field_77990_d from cofh.api.energy.ItemEnergyContainer
What the log looks like
java\.lang\.IllegalAccessError: tried to access field net\.minecraft\.item\.ItemStack\.field_77990_d from class cofh\.api\.energy\.ItemEnergyContainer
How to fix it
- Check your mods folder for any mod JARs built for Minecraft 1.7.10 (such as an old Ender IO or CoFHLib file) and remove or replace them with versions matching your exact Minecraft version.
- Do not remove JEI or Botania first—look instead at tech and energy mods in your mods folder, as one of them is bundling the outdated CoFH RF API.
- Update all installed tech and energy mods (such as Refined Storage, Actually Additions, and Ender IO) to the latest builds available for your Minecraft version.
- If you cannot spot the wrong-version JAR by filename, open suspect tech mod JARs with an archive tool (like 7-Zip) to see which ones contain the cofh/api/energy folder, and test removing them one by one until the game launches.
| Loaders | Forge |
|---|
| Severity | Stops the game |
|---|
| Category | Wrong Minecraft version |
|---|
Check your own log