Closed Keten closed 9 years ago
I can confirm that this is a major issue in 3.3.4, so we'll make sure to fix it in the next update. For now, I recommend trying to play on versions 3.3.1 or lower, since every version past 3.3.2 seems to have at least one fatal flaw...
Actually, it is not a Minestrappolation issue, but rather a Clashsoft Lib one. I don't know if you can recreate it, but it works in my workspace.
Tell me If I can help with something... (im developer).
Great mod team!
Try updating to Forge 1232. We are using that in the workspace.
I updated to Forge 1236... Still not working.
Yep, definitely not an install problem, since it's happened on every version of Forge I've tried so far. It's obviously something to due with what the default NBT tags are set to when crafting the items, as it only happens for Tools, Armor, and Food (the three items that Minestrapp gives custom NBTs to), but why it's crashing now when it worked just fine in 3.3.0 is beyond me...
I think the problem here is the registry. When crafting an Item, the ItemStack
increases a Stat value, which is stored in an Array indexed by the Item ID (the Minecraft codebase gave me cancer). It computes the Item ID just before doing that, as it stores the actual Item object rather than the ID. However, it fails to compute the ID correctly (because the registry can't resolve the Item object to an ID), and uses -1
as the ID. But since Arrays are indexed from 0
to length - 1
, the JVM throws an exception here, causing the crash.
Unfortunately, this does not seem to be happening in the decompiled / dev version of Forge (why?), which is why it is not easy to resolve this issue.
Actually, it does seem to happen in my workspace still, so it could be that something in yours is causing it to not. I'd try getting a fresh MCP workspace and installing only Minestrapp and the compiled versions of CSLib and Brewing API and see if that changes anything.
I generally only use the compiled CSLib and BAPI JARs instead of linking the projects, but I re-downloaded and setup the workspace again. However, LWJGL seems to be broken, and I am currently unable (and not motivated enough) to fix that.
Fair enough. Try testing it again whenever you feel like it, and worst case if the bug still doesn't happen in your workspace, you can always just try things that you think might fix it and then have me text them on mine.
Temporarily closed because adding a README seems to have somehow magically fixed it in my workspace??? I'll test this again after we build 3.3.5 to make sure it doesn't start happening again, but for the moment it seems to be fixed...
Hi!! I love this mod. Now, with latest version I have this critical issue: This happens, when I try to craft, for example, a Wooden or Stone Pickaxe. If I craft a Slate Pickaxe, works fine.
I can't play Minecraft with this mod, if this issue remaining... :/