Hello everyone,
I made a mod for the 1.5.1, everything is ok even if I use it with many other mods....
I update everything to 1.5.2 (MC, MCP, forge...) and try to update my mod.
After udpating my mod in eclipse (some minor changes in the codes), i try to launch it in eclipse -> everything is ok, the mod works well.
So i recompile and reobfuscate, put the class files in a zip and try it in MC -> MC crashed.....
The mod simply add 4 mobs (2 skeletons and 2 zombies), when I look at the log, i see that :
Unloaded->Constructed->Pre-initialized->Initialized
monstermod{1.0.0} [Monster mod] (monstermod.zip) Unloaded->Constructed->Pre-initialized->Errored
mod_ReiMinimap{v3.3_06 [1.5.2]} [mod_ReiMinimap] (Reis-Minimap-Mod-1.5.2.zip) Unloaded->Constructed->Pre-initialized->Initialized
2013-05-28 10:06:01 [sEVERE] [ForgeModLoader] The following problems were captured during this phase
2013-05-28 10:06:01 [sEVERE] [ForgeModLoader] Caught exception from monstermod
java.lang.NoSuchFieldError: bipedRightArm
at Mymods.Monstermod.ModelSkeletonGuard.<init>(ModelSkeletonGuard.java:23)
at Mymods.Monstermod.ModelSkeletonGuard.<init>(ModelSkeletonGuard.java:17)
It seems that MC does not recognize right arm of one of the skeleton! .... weird...
if I get out the skeletons (works fine in eclipse) of the mod and recompile it i get this one....
[sEVERE] [ForgeModLoader] Caught exception from monstermod
java.lang.NoSuchFieldError: Beach
vamos a la playa for the zombies?? hmmmmm...
I made a new mod from scratch to add a simple block with iron material, works fine in eclipse, crash in MC :
testmod{1.0.0} [test mod] (test.zip) Unloaded->Constructed->Pre-initialized->Errored
LWJGL: 2.4.2
OpenGL: GeForce GTX 660/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Texture Pack: test.zip
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: iron
at cpw.mods.fml.common.LoadController.transition(LoadController.java:142)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:697)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading
this time is the iron....
If i try a mod downloaded from internet (butterfly mod as example), mc runs good.....
So i guess the problem is the compilation does not link the code with the orignal mc class (bipedrightarm, beach, iron.....). Also the best clue is the perfect run in eclipse and the crash when i run MC....
the full log :
I tried to reinstall all the stuff more than one time, make some test with other code, nothing seems to work. I used only the recompile.bat and the reobfuscate.bat for the compilation, never use the other ".bat" command...
Any idea for fixing this ?
Thanks a lot
bld01