NSExceptional / Zombe-Modpack

An updated version of Zombe Modpack
https://www.minecraftforum.net/topic/91055-/
GNU General Public License v3.0
11 stars 3 forks source link

Modifying A.java requires recompiling A$n.class if A references unmodified B.EnumType #1

Closed Poccket closed 7 years ago

Poccket commented 7 years ago

crash-2017-01-26_20.38.52-client.txt

If I click at all even with no mods enabled I get this crash, everything else works fine.

NSExceptional commented 7 years ago

Did you read all of the README?

Are you using 1.11 and not 1.11.2?

Which did you install it manually or use the pre-installation?

Poccket commented 7 years ago

@ThePantsThief I read the entire README and am using 1.11. I installed it manually.

NSExceptional commented 7 years ago

If you could upload the main jar and link it to me that would be awesome, thank you!

(I believe the jars are too big to simply attach here)

Poccket commented 7 years ago

zombe-1.11.zip Here's the 1.11-zombe file

NSExceptional commented 7 years ago

Interesting. I now know what's causing the crash but I don't know why.

In case anyone who could help sees this, the problem is when I modify a class A.java that uses an enum defined in some other minecraft class B.EnumType, I also need to include one of the A$n.class files in the mod, but I don't know which one and I don't know why. Because if I'm not modifying B or B.EnumType, and if I'm not using B or B.EnumType in any of the inner classes/enums of A, then why would A$n.class change?

Anyway, here is a version of Mod/jar that includes every reobf'd file. Drag these into your jar and it should work.

mattmess1221 commented 7 years ago

3 should fix this.

(Having issues with mojang classes? Get rid of them 🥇 )