Posted April 2, 201312 yr Ok so I thought finally I had my mod finished but no there always has to be something and this time its the creative tabs. I recompiled and rebofuscated and installed everything in the correct directory and this is the error I get from a forge log off of the minecraft client: 2013-04-02 17:00:30 [iNFO] [ForgeModLoader] Forge Mod Loader version 5.1.8.611 for Minecraft 1.5.1 loading 2013-04-02 17:00:30 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_13, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre7 2013-04-02 17:00:30 [FINE] [ForgeModLoader] Java classpath at launch is C:\Users\jacks_000\Documents\My Games\Minecraft\Minecraft.exe 2013-04-02 17:00:30 [FINE] [ForgeModLoader] Java library path at launch is C:\Program Files\Java\jre7\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\D3DGear;C:\Program Files (x86)\Autodesk\Backburner\;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files\Java\jre7\bin;. 2013-04-02 17:00:30 [FINE] [ForgeModLoader] Enabling runtime deobfuscation 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] All core mods are successfully located 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] Discovering coremods 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] Found library file argo-small-3.2.jar present and correct in lib dir 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] Found library file guava-14.0-rc3.jar present and correct in lib dir 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] Found library file asm-all-4.1.jar present and correct in lib dir 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] Found library file bcprov-jdk15on-148.jar present and correct in lib dir 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] Found library file deobfuscation_data_1.5.1.zip present and correct in lib dir 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] Found library file scala-library.jar present and correct in lib dir 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] Running coremod plugins 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin 2013-04-02 17:00:30 [iNFO] [ForgeModLoader] Found valid fingerprint for Minecraft Forge. Certificate fingerprint de4cf8a3f3bc15635810044c39240bf96804ea7d 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully 2013-04-02 17:00:30 [FINEST] [ForgeModLoader] Validating minecraft 2013-04-02 17:00:31 [FINEST] [ForgeModLoader] Minecraft validated, launching... 2013-04-02 17:00:33 [iNFO] [sTDOUT] 229 recipes 2013-04-02 17:00:33 [iNFO] [sTDOUT] 27 achievements 2013-04-02 17:00:33 [iNFO] [Minecraft-Client] Setting user: vandy22 2013-04-02 17:00:33 [iNFO] [sTDOUT] (Session ID is 2516573331987915611) 2013-04-02 17:00:33 [iNFO] [Minecraft-Client] LWJGL Version: 2.4.2 2013-04-02 17:00:34 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization 2013-04-02 17:00:34 [iNFO] [sTDOUT] MinecraftForge v7.7.1.611 Initialized 2013-04-02 17:00:34 [iNFO] [ForgeModLoader] MinecraftForge v7.7.1.611 Initialized 2013-04-02 17:00:34 [iNFO] [sTDOUT] Replaced 85 ore recipies 2013-04-02 17:00:34 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization 2013-04-02 17:00:34 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\jacks_000\AppData\Roaming\.minecraft\config\logging.properties 2013-04-02 17:00:34 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer] 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes 2013-04-02 17:00:34 [FINER] [ForgeModLoader] Skipping known library file C:\Users\jacks_000\AppData\Roaming\.minecraft\bin\lwjgl.jar 2013-04-02 17:00:34 [FINER] [ForgeModLoader] Skipping known library file C:\Users\jacks_000\AppData\Roaming\.minecraft\bin\jinput.jar 2013-04-02 17:00:34 [FINER] [ForgeModLoader] Skipping known library file C:\Users\jacks_000\AppData\Roaming\.minecraft\bin\lwjgl_util.jar 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\jacks_000\AppData\Roaming\.minecraft\bin\minecraft.jar, examining for mod candidates 2013-04-02 17:00:34 [FINER] [ForgeModLoader] Skipping known library file C:\Users\jacks_000\AppData\Roaming\.minecraft\lib\argo-small-3.2.jar 2013-04-02 17:00:34 [FINER] [ForgeModLoader] Skipping known library file C:\Users\jacks_000\AppData\Roaming\.minecraft\lib\guava-14.0-rc3.jar 2013-04-02 17:00:34 [FINER] [ForgeModLoader] Skipping known library file C:\Users\jacks_000\AppData\Roaming\.minecraft\lib\asm-all-4.1.jar 2013-04-02 17:00:34 [FINER] [ForgeModLoader] Skipping known library file C:\Users\jacks_000\AppData\Roaming\.minecraft\lib\bcprov-jdk15on-148.jar 2013-04-02 17:00:34 [FINER] [ForgeModLoader] Skipping known library file C:\Users\jacks_000\AppData\Roaming\.minecraft\lib\deobfuscation_data_1.5.1.zip 2013-04-02 17:00:34 [FINER] [ForgeModLoader] Skipping known library file C:\Users\jacks_000\AppData\Roaming\.minecraft\lib\scala-library.jar 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully 2013-04-02 17:00:34 [iNFO] [ForgeModLoader] Searching C:\Users\jacks_000\AppData\Roaming\.minecraft\mods for mods 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Found a candidate zip or jar file JV'sToolPack.zip 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods 2013-04-02 17:00:34 [FINE] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Examining file JV'sToolPack.zip for potential mods 2013-04-02 17:00:34 [FINE] [ForgeModLoader] The mod container JV'sToolPack.zip appears to be missing an mcmod.info file 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Identified a class tutorialtest.mod_tutorial following modloader naming convention but not directly a BaseMod or currently seen subclass 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Identified an FMLMod type mod tutorialtest.mod_tutorial 2013-04-02 17:00:34 [FINEST] [JV's ToolPack] Parsed dependency info : [] [] [] 2013-04-02 17:00:34 [iNFO] [ForgeModLoader] Attempting to reparse the mod container JV'sToolPack.zip 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Examining file JV'sToolPack.zip for potential mods 2013-04-02 17:00:34 [FINE] [ForgeModLoader] The mod container JV'sToolPack.zip appears to be missing an mcmod.info file 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Identified a class tutorialtest.mod_tutorial following modloader naming convention but not directly a BaseMod or currently seen subclass 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Identified an FMLMod type mod tutorialtest.mod_tutorial 2013-04-02 17:00:34 [FINEST] [JV's ToolPack] Parsed dependency info : [] [] [] 2013-04-02 17:00:34 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load 2013-04-02 17:00:34 [FINER] [ForgeModLoader] Received a system property request '' 2013-04-02 17:00:34 [FINER] [ForgeModLoader] System property request managing the state of 0 mods 2013-04-02 17:00:34 [FINE] [ForgeModLoader] After merging, found state information for 0 mods 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Reloading logging properties from C:\Users\jacks_000\AppData\Roaming\.minecraft\config\logging.properties 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Reloaded logging properties 2013-04-02 17:00:34 [FINE] [mcp] Mod Logging channel mcp configured at default level. 2013-04-02 17:00:34 [iNFO] [mcp] Activating mod mcp 2013-04-02 17:00:34 [FINE] [FML] Mod Logging channel FML configured at default level. 2013-04-02 17:00:34 [iNFO] [FML] Activating mod FML 2013-04-02 17:00:34 [FINE] [Forge] Mod Logging channel Forge configured at default level. 2013-04-02 17:00:34 [iNFO] [Forge] Activating mod Forge 2013-04-02 17:00:34 [FINE] [JV's ToolPack] Enabling mod JV's ToolPack 2013-04-02 17:00:34 [FINE] [JV's ToolPack] Mod Logging channel JV's ToolPack configured at default level. 2013-04-02 17:00:34 [iNFO] [JV's ToolPack] Activating mod JV's ToolPack 2013-04-02 17:00:34 [FINER] [ForgeModLoader] Verifying mod requirements are satisfied 2013-04-02 17:00:34 [FINER] [ForgeModLoader] All mod requirements are satisfied 2013-04-02 17:00:34 [FINER] [ForgeModLoader] Sorting mods into an ordered list 2013-04-02 17:00:34 [FINER] [ForgeModLoader] Mod sorting completed successfully 2013-04-02 17:00:34 [FINE] [ForgeModLoader] Mod sorting data 2013-04-02 17:00:34 [FINE] [ForgeModLoader] JV's ToolPack(JV's ToolPack:1.4.7): JV'sToolPack.zip () 2013-04-02 17:00:34 [FINEST] [mcp] Sending event FMLConstructionEvent to mod mcp 2013-04-02 17:00:34 [FINEST] [mcp] Sent event FMLConstructionEvent to mod mcp 2013-04-02 17:00:34 [FINEST] [FML] Sending event FMLConstructionEvent to mod FML 2013-04-02 17:00:34 [FINEST] [FML] Sent event FMLConstructionEvent to mod FML 2013-04-02 17:00:34 [FINEST] [Forge] Sending event FMLConstructionEvent to mod Forge 2013-04-02 17:00:34 [FINEST] [Forge] Sent event FMLConstructionEvent to mod Forge 2013-04-02 17:00:34 [FINEST] [JV's ToolPack] Sending event FMLConstructionEvent to mod JV's ToolPack 2013-04-02 17:00:34 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.NoSuchMethodError: net.minecraft.item.ItemBucket.getNextID()I 2013-04-02 17:00:34 [iNFO] [sTDERR] at tutorialtest.mod_tutorial.<clinit>(mod_tutorial.java:29) 2013-04-02 17:00:34 [iNFO] [sTDERR] at java.lang.Class.forName0(Native Method) 2013-04-02 17:00:34 [iNFO] [sTDERR] at java.lang.Class.forName(Unknown Source) 2013-04-02 17:00:34 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:446) 2013-04-02 17:00:34 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-04-02 17:00:34 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-04-02 17:00:34 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-04-02 17:00:34 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2013-04-02 17:00:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-04-02 17:00:34 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-04-02 17:00:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 2013-04-02 17:00:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-04-02 17:00:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-04-02 17:00:34 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165) 2013-04-02 17:00:34 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-04-02 17:00:34 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-04-02 17:00:34 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-04-02 17:00:34 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2013-04-02 17:00:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-04-02 17:00:34 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-04-02 17:00:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 2013-04-02 17:00:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-04-02 17:00:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-04-02 17:00:34 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98) 2013-04-02 17:00:34 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:502) 2013-04-02 17:00:34 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:160) 2013-04-02 17:00:34 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:407) 2013-04-02 17:00:34 [iNFO] [sTDERR] at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56) 2013-04-02 17:00:34 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:729) 2013-04-02 17:00:34 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source) It refers to line 29 in my mod_tutorial.java class so here it is: public static CreativeTabs tabJVCraft = new CreativeTabJVCraft(CreativeTabs.getNextID(), "tabJVCraft", "LALA"); And also just in case here is my CreativeTabJVCraft.java class: package tutorialtest; import net.minecraft.creativetab.CreativeTabs; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class CreativeTabJVCraft extends CreativeTabs{ private int tabIndexID; private String tabName; CreativeTabJVCraft(int par1, String par3Str, String par4String ) { super(par1, par3Str); this.tabName = par4String; } @SideOnly(Side.CLIENT) public int getTabIconItemIndex(){ return mod_tutorial.BasicCube.blockID; } public String getTranslatedTabLabel(){ return this.tabName; } } Hope you can help! Thanks guys! I really want my mod to work!!!!!!!!!!!!
April 3, 201312 yr I just put your exact code into my current workspace and it works and loads fine without crashes what items/blocks are you trying to add to the creative tab?
April 3, 201312 yr 2013-04-02 17:00:34 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.NoSuchMethodError: net.minecraft.item.ItemBucket.getNextID()I 2013-04-02 17:00:34 [iNFO] [sTDERR] at tutorialtest.mod_tutorial.<clinit>(mod_tutorial.java:29) I bet It's not about creative tab ;-) And why you your class like it uses ModLoader?
April 4, 201312 yr Author 2013-04-02 17:00:34 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.NoSuchMethodError: net.minecraft.item.ItemBucket.getNextID()I 2013-04-02 17:00:34 [iNFO] [sTDERR] at tutorialtest.mod_tutorial.<clinit>(mod_tutorial.java:29) I bet It's not about creative tab ;-) And why you your class like it uses ModLoader? This runs fine in eclipse everytime. I don't understand what you mean with my class like it uses ModLoader? Also every block/item in my mod is put into this creativetab to answer jordan30001's question.
April 4, 201312 yr This runs fine in eclipse everytime. I don't understand what you mean with my class like it uses ModLoader? Also every block/item in my mod is put into this creativetab to answer jordan30001's question. Well, I didn't get catch you get the error after placing in Minecraft. Mods which are using ModLoader have the main classes starting with mod_ just like yours. Java convention wants it to start with capital. But as you can see on the error log, game trye to find getNextId() method in ItemBucket not in CreativeTabs. That's because the code is "wrong" deobfuscated. You probably have created a mod on 1.5.0 and run the files on 1.5.1 or vice versa. It can be also made by using unstable build of Forge. Try use updateMCP.bat and updateNames.bat or how it was called.
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.