I set up the 1.6.2 version of MCP today and did everything according to instuctions. But when I ran the decompile.bat, I got this error.
== ERRORS FOUND in JAVA CODE ==
src\minecraft\net\minecraft\src\ChatMessageComponent.java:256: warning: non-vara
rgs call of varargs method with inexact argument type for last parameter;
var7.append(StatCollector.translateToLocalFormatted(this.field_1
11090_h, var13));
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
src\minecraft\net\minecraft\src\Minecraft.java:293: error: cannot find symbol
Display.setResizable(true);
^
symbol: method setResizable(boolean)
location: class Display
src\minecraft\net\minecraft\src\Minecraft.java:851: error: cannot find symbol
if (!this.fullscreen && Display.wasResized())
^
symbol: method wasResized()
location: class Display
src\minecraft\net\minecraft\src\Minecraft.java:853: error: cannot find symbol
this.displayWidth = Display.getWidth();
^
symbol: method getWidth()
location: class Display
src\minecraft\net\minecraft\src\Minecraft.java:854: error: cannot find symbol
this.displayHeight = Display.getHeight();
^
symbol: method getHeight()
location: class Display
src\minecraft\net\minecraft\src\MouseHelper.java:29: error: cannot find symbol
Mouse.setCursorPosition(Display.getWidth() / 2, Display.getHeight() / 2)
;
^
symbol: method getWidth()
location: class Display
src\minecraft\net\minecraft\src\MouseHelper.java:29: error: cannot find symbol
Mouse.setCursorPosition(Display.getWidth() / 2, Display.getHeight() / 2)
;
^
symbol: method getHeight()
location: class Display
6 errors
1 warning
==================
I have no idea what is going on. I have been using MCP for quite a while, and have "updated" (i.e. getting the new version) four or five times, but this is the first time I have gotten an error during startup decompiling. I have absolutely no idea of what is going on. Any help would be greatly appreciated.
Rollback Post to RevisionRollBack
/\ A bit dead right now, support would be greatly appreciated /\
Also the link is broken, click the one below. I will fix this soon.
Have you changed the default 1.6.2.jar? If you have then that might be the problem. Also you should try updating your MCP if you don't have 805.
I haven't changed the jar, and my MCP is 805. Just wondering, how do you force update with the new launcher? Because Minecraft Wiki says that forcing an update cleans your jar, and that might help.
EDIT: Oh also, I got some sort of error about "scalac" not being on the PATH, and not being able to recompile scala files. Is that important?
I haven't changed the jar, and my MCP is 805. Just wondering, how do you force update with the new launcher? Because Minecraft Wiki says that forcing an update cleans your jar, and that might help.
EDIT: Oh also, I got some sort of error about "scalac" not being on the PATH, and not being able to recompile scala files. Is that important?
The scalac thing is not important. I read that somewhere so its ok. But I've been having the same problem too and I am totally lost. The only difference is I put modloader files into the 1.6.2.jar. Reason for this is because I'm new to modding and I have been following this guys tutorial (located below) . Is he doing the right things? He's from Machinama so i assumed so. also i found this little thing in the error report:
'runtime\bin\applydiff.exe -p1 -u -i ..\..\temp\temp.patch -d src\minecraft' fai
led : 1
== ERRORS FOUND ==
1 out of 1 hunk ignored -- saving rejects to file 'net\minecraft\src\IntegratedS
er#'
Does that have anything to do with it not working?
Sorry if im late but I found the fix for the Display class stuff
Go to mcpdir\jars\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0 then copy the lwjgl jar and paste it in here
mcpdir/lib
Atleast it fixed it for me
Wow, that actually worked! Thanks! However I got this new error with the SoundManager.java:
== ERRORS FOUND in JAVA CODE ==
src\minecraft\net\minecraft\src\SoundManager.java:70: error: exception SoundSyst
emException is never thrown in body of corresponding try statement
catch (SoundSystemException var5)
^
1 error
==================
Rollback Post to RevisionRollBack
/\ A bit dead right now, support would be greatly appreciated /\
Also the link is broken, click the one below. I will fix this soon.
src\minecraft\net\minecraft\src\ChatMessageComponent.java:256: warning: non-vara
rgs call of varargs method with inexact argument type for last parameter;
var7.append(StatCollector.translateToLocalFormatted(this.field_1
11090_h, var13));
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
src\minecraft\net\minecraft\src\Minecraft.java:293: error: cannot find symbol
Display.setResizable(true);
^
symbol: method setResizable(boolean)
location: class Display
src\minecraft\net\minecraft\src\Minecraft.java:851: error: cannot find symbol
if (!this.fullscreen && Display.wasResized())
^
symbol: method wasResized()
location: class Display
src\minecraft\net\minecraft\src\Minecraft.java:853: error: cannot find symbol
this.displayWidth = Display.getWidth();
^
symbol: method getWidth()
location: class Display
src\minecraft\net\minecraft\src\Minecraft.java:854: error: cannot find symbol
this.displayHeight = Display.getHeight();
^
symbol: method getHeight()
location: class Display
src\minecraft\net\minecraft\src\MouseHelper.java:29: error: cannot find symbol
Mouse.setCursorPosition(Display.getWidth() / 2, Display.getHeight() / 2)
;
^
symbol: method getWidth()
location: class Display
src\minecraft\net\minecraft\src\MouseHelper.java:29: error: cannot find symbol
Mouse.setCursorPosition(Display.getWidth() / 2, Display.getHeight() / 2)
;
^
symbol: method getHeight()
location: class Display
6 errors
1 warning
==================
EDIT: Oh also, I got some sort of error about "scalac" not being on the PATH, and not being able to recompile scala files. Is that important?
The scalac thing is not important. I read that somewhere so its ok. But I've been having the same problem too and I am totally lost. The only difference is I put modloader files into the 1.6.2.jar. Reason for this is because I'm new to modding and I have been following this guys tutorial (located below) . Is he doing the right things? He's from Machinama so i assumed so. also i found this little thing in the error report:
'runtime\bin\applydiff.exe -p1 -u -i ..\..\temp\temp.patch -d src\minecraft' fai
led : 1
== ERRORS FOUND ==
1 out of 1 hunk ignored -- saving rejects to file 'net\minecraft\src\IntegratedS
er#'
Does that have anything to do with it not working?
Initial client recompile failed, correct source then run updatemd5
Press any key to continue . . .
does this help with you guys figuring out what is wrong?
http://www.minecraftforum.net/topic/1874378-how-to-decompile-mcp-with-modloader/
and do what the THIRD comment says.
Hope it helped
-Frog
Really? You don't even use Eclipse? Wow dude, thats harder. You should just use Eclipse and Forge, its a lot faster and easier for you
== ERRORS FOUND in JAVA CODE ==
src\minecraft\net\minecraft\src\SoundManager.java:70: error: exception SoundSyst
emException is never thrown in body of corresponding try statement
catch (SoundSystemException var5)
^
1 error
==================
Change line 70 of SoundManager.java to:
catch (Exception var5)
But this might mess up sound later, I don't know yet.