Posted August 1, 201312 yr Hi everyone, So a couple of days ago i recompiled and deobfuscated my mod fine in the current version of forge that i have. (forge 9.10.0.804 and with that automatically comes the mcp installation) So i made some changes after this and i wanted to test that aswell, but suddenly it gave errors (about 100) in the minecraft source saying the following: symbol: class IconRegister location: class BlockFenceGate (one of the many) E:\McpFolders\Soul Forest Mod 1.6.2\forge\mcp\src\minecraft_server\net\minecraft\util\ChatMessageComponent.java:260: warning: non-varargs call of varargs method with inexact argument type for last parameter: var7.append(StatCollector.translateToLocalFormatted(this.field_111090_h, var13)); cast to Object for a varargs call cast to Object[] for a non-varargs call and to suppress this warning // Well i am not sure what the last thing actually means but i don't want to go change 100 errors in the minecraft source... If anyone knows what causes this and how to fix it please help. Edit: the problem below is now fixed. I also have a little problem with recompile addinformation "colours" i have found this: http://www.minecraftwiki.net/wiki/Formatting_codes where the codes to get coloured information are listed, so i used that in eclipse whic looks something like: par3List.add("§3Max Uses"); when recompiling that it says that it doesn't recognise the "§" as a symbol. So while it is sayd to be used and works in eclipse, it can't be recompiled. Any idea how to fix that? I am the creator of the Soul Forest Mod : http://www.planetminecraft.com/mod/151-soul-forest-10-ores-vines-dimension-mobs-and-more/
August 1, 201312 yr Author Is there a list of colour codes as you discribe them or do i just put that little code infront of §? and what about the other issue, which as a bit more of a porblem. I am the creator of the Soul Forest Mod : http://www.planetminecraft.com/mod/151-soul-forest-10-ores-vines-dimension-mobs-and-more/
August 1, 201312 yr Is there a list of colour codes as you discribe them yeah, EnumChatFormating has a list how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 1, 201312 yr Author Any ideas on how to solve this other issue?? I am the creator of the Soul Forest Mod : http://www.planetminecraft.com/mod/151-soul-forest-10-ores-vines-dimension-mobs-and-more/
August 1, 201312 yr Your error says that line var7.append(StatCollector.translateToLocalFormatted(this.field_111090_h, var13)); has wrong arg. From looking at StatCollector class, var13 should be an array of objects.
August 1, 201312 yr Author Well, its not that i don't want to change errors and stuff but this is within minecraft classes which i did never change at all, i just get those when i have just installed forge along with mcp (fresh) and put my mod files in, when i recompile i get those errors... I am the creator of the Soul Forest Mod : http://www.planetminecraft.com/mod/151-soul-forest-10-ores-vines-dimension-mobs-and-more/
August 1, 201312 yr @GotoLink, im pretty sure a single argument count for a method declared public void myMethod(Object ... args){ //hi link } how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 1, 201312 yr @OwnAgePau Maybe you are calling this method from somewhere, just saying. @Hydroflame It depends on your version of Java, actually. But I agree it should work this way.
August 1, 201312 yr It depends on your version of Java oh ... the more i learn how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 1, 201312 yr Author So i am calling that method iconRegister and it comes up with an error in BlockFence? and BlockEnderChest?? If i were to call a method that would throw errors wouldn't that be in IconRegister.java ? Edit: @GotoLink Well i tried recompiling the minecraft source without my mod, same errors. I am the creator of the Soul Forest Mod : http://www.planetminecraft.com/mod/151-soul-forest-10-ores-vines-dimension-mobs-and-more/
August 2, 201312 yr Author I have already downloaded and installed the newest JRE & JDK 1.7, although i am not sure what version my eclipse currently uses where can i see and or change it? I am the creator of the Soul Forest Mod : http://www.planetminecraft.com/mod/151-soul-forest-10-ores-vines-dimension-mobs-and-more/
August 2, 201312 yr right click minecraft project > property -> java compiler how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 2, 201312 yr Author I am not sure what this means : Use compliance from execution environment 'JavaSE-1.6' on 'Java Build Path'. Does that mean its still on java 1.6? and if so how would i change that to the newest version? Edit: i found where to change it and it now says 1.7, but it still shows these 100 errors. I am the creator of the Soul Forest Mod : http://www.planetminecraft.com/mod/151-soul-forest-10-ores-vines-dimension-mobs-and-more/
August 2, 201312 yr uninstall 1.6 ... and add 1.7 to your PATH how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 2, 201312 yr Author I have 3 folders in java folder which are jdk1.7.0_17, jdk1.7.0_25 and jre7 which one should i delete? and jdk1.6.0_16 is on my path I am the creator of the Soul Forest Mod : http://www.planetminecraft.com/mod/151-soul-forest-10-ores-vines-dimension-mobs-and-more/
August 2, 201312 yr yeah i meant add 1.7 on your PATH and remove 1.6 from it 1.6 and 1.7 i think have 2 very different install folder linux or windows ? how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 2, 201312 yr Author Windows, and theres no 1.6 on my path anymore i think it got replaced automatically or something. I tried finding any jdk or jre1.6 but i can't find any. If there are more then 2 installation folders (as i have program files and program files(86x) which both contain a Java folder with jdk1.7.0_17 and jre1.7, then i am not sure where these 1.6 folders would be located. I am the creator of the Soul Forest Mod : http://www.planetminecraft.com/mod/151-soul-forest-10-ores-vines-dimension-mobs-and-more/
August 2, 201312 yr try uninstalling it from the construction pannel ? (or wtv the fuck its called in windows ) build panel? control panel ? construction panel? admin panel ? how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 2, 201312 yr Author Well unfortunately theres only Java 7 Update 16, Java 7 Update 25, SE Dev kit 7 Update 17, Se Dev kit 7 Update 17 (64 bit) and SE Dev kit 7 Update 25(64 bit) to select from. Edit: i am not sure if this has anything to do with it, but when i had this new forge and mcp setup i did recompiled and reobfuscated sucessfully once, but once i tried to run minecraft with my mod it wouldn't start. So i downloaded the newest JDK (which untill then was 1.6) and then i could run my minecraft, but now i can't recompile the source. I am the creator of the Soul Forest Mod : http://www.planetminecraft.com/mod/151-soul-forest-10-ores-vines-dimension-mobs-and-more/
August 2, 201312 yr well idk, but if you want a solution thatll work for sure, delete all java, backup your source, reinstall forge (because i think it looks whats your current java version is at install time), reinstall java 7 ONLY and might as well grab the latest version of eclipse ("kepler" i think ) and recopy your code in the mcp/src/miencraft folder beside that im out of idea how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 2, 201312 yr Author I have tried reinstalling forge, and immidiately after installing i tried decompiling but that didn't work when it tried recompiling the source it gave the same 100 errors. It has nothing to do with eclipse, but i have no clue on what could fix it... i need some serious help here. I am the creator of the Soul Forest Mod : http://www.planetminecraft.com/mod/151-soul-forest-10-ores-vines-dimension-mobs-and-more/
August 2, 201312 yr did you first removed everything java related on yoru computer ? how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 2, 201312 yr Author Yeah i tried what you sayd, but no good luck it appears I am the creator of the Soul Forest Mod : http://www.planetminecraft.com/mod/151-soul-forest-10-ores-vines-dimension-mobs-and-more/
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.