-
[UNSOLVED][4.0.0.241] Help to create a new furnace
I changed all of code of the Coal Furnace, when i right click on the furnace won't display the Gui. Please help.
-
[UNSOLVED][4.0.0.241] Help to create a new furnace
Yes, in the CommonProxy. But since? I've been looking for tutorials or mods that add furnaces or crafting tables and record the gui but I have not found much, but I found this does not work you check the server by right-clicking in the oven. @Override public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { TileEntity tileEntity = world.getBlockTileEntity(x, y, z); if(tileEntity instanceof TileEntityCoalFurnace) { return new GuiCoalFurnace(player.inventory, (TileEntityCoalFurnace) tileEntity); } return null; } @Override public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { TileEntity tileEntity = world.getBlockTileEntity(x, y, z); if(tileEntity instanceof TileEntityCoalFurnace) { return new GuiCoalFurnace(player.inventory, (TileEntityCoalFurnace) tileEntity); } return null; } when I run this code I get this error:
-
[UNSOLVED][4.0.0.241] Help to create a new furnace
Thanks, but I've done more or less what you've told me I looked at the code of other mods and I copied some code furace things but when you right click on the block in minecraft a screen saying that the server has thrown me. And I modified the post to display the message, my mistake.
-
[UNSOLVED][4.0.0.241] Help to create a new furnace
All of the code of my mod is here: https://github.com/esquerbatua/cevicraft/tree/master/src
-
SOLVED! (Minecraft crash after mojang logo. [1.3.2])
Thank you. I speak with the modder to obfuscate
-
SOLVED! (Minecraft crash after mojang logo. [1.3.2])
ForgeModLoader-client-0.log: 2012-09-10 21:18:56 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.0.165.344 for Minecraft client:1.3.2, server:1.3.2 loading 2012-09-10 21:18:56 [FINEST] [ForgeModLoader] All core mods are successfully located 2012-09-10 21:18:56 [FINEST] [ForgeModLoader] Discovering coremods 2012-09-10 21:18:56 [FINEST] [ForgeModLoader] Found library file argo-2.25.jar present and correct in lib dir 2012-09-10 21:18:56 [FINEST] [ForgeModLoader] Found library file guava-12.0.1.jar present and correct in lib dir 2012-09-10 21:18:56 [FINEST] [ForgeModLoader] Found library file asm-all-4.0.jar present and correct in lib dir 2012-09-10 21:18:56 [FINEST] [ForgeModLoader] Running coremod plugins 2012-09-10 21:18:56 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin 2012-09-10 21:18:56 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully 2012-09-10 21:18:56 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin 2012-09-10 21:18:56 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully 2012-09-10 21:18:56 [FINEST] [ForgeModLoader] Validating minecraft 2012-09-10 21:18:56 [FINEST] [ForgeModLoader] Minecraft validated, launching... 2012-09-10 21:18:57 [iNFO] [sTDOUT] 27 achievements 2012-09-10 21:18:58 [iNFO] [sTDOUT] 195 recipes 2012-09-10 21:18:58 [iNFO] [sTDOUT] Setting user: esquerbatua1, 8bb1e656b64d59b5d74aad609c56bc6be7c653db 2012-09-10 21:18:58 [iNFO] [sTDOUT] LWJGL Version: 2.4.2 2012-09-10 21:18:59 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization 2012-09-10 21:18:59 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer] 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Carlos Esquerdo\AppData\Roaming\.minecraft\bin\lwjgl.jar 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Carlos Esquerdo\AppData\Roaming\.minecraft\bin\jinput.jar 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Carlos Esquerdo\AppData\Roaming\.minecraft\bin\lwjgl_util.jar 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\Carlos Esquerdo\AppData\Roaming\.minecraft\bin\minecraft.jar, examining for mod candidates 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Carlos Esquerdo\AppData\Roaming\.minecraft\lib\argo-2.25.jar 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Carlos Esquerdo\AppData\Roaming\.minecraft\lib\guava-12.0.1.jar 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Carlos Esquerdo\AppData\Roaming\.minecraft\lib\asm-all-4.0.jar 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully 2012-09-10 21:18:59 [iNFO] [ForgeModLoader] Searching C:\Users\Carlos Esquerdo\AppData\Roaming\.minecraft\mods for mods 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Found a candidate zip or jar file cevicraft.zip 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods 2012-09-10 21:18:59 [iNFO] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Examining file cevicraft.zip for potential mods 2012-09-10 21:18:59 [iNFO] [ForgeModLoader] The mod container cevicraft.zip appears to be missing an mcmod.info file 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Identified a FMLMod type mod cevicraft.mod_cevi 2012-09-10 21:18:59 [FINEST] [ForgeModLoader] Parsed dependency info : [] [] [] 2012-09-10 21:18:59 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 3 mods to load 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Received a system property request '' 2012-09-10 21:18:59 [FINE] [ForgeModLoader] System property request managing the state of 0 mods 2012-09-10 21:18:59 [FINE] [ForgeModLoader] After merging, found state information for 0 mods 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Activating mod FML 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Activating mod Forge 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Enabling mod CEVICRAFT 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Activating mod CEVICRAFT 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Verifying mod requirements are satisfied 2012-09-10 21:18:59 [FINE] [ForgeModLoader] All mod requirements are satisfied 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Sorting mods into an ordered list 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Mod sorting completed successfully 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Mod sorting data: 2012-09-10 21:18:59 [FINE] [ForgeModLoader] CEVICRAFT(CEVI:1.0.0): cevicraft.zip () 2012-09-10 21:18:59 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@19737b9f to mod FML 2012-09-10 21:18:59 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@19737b9f delivered to mod FML 2012-09-10 21:18:59 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@19737b9f to mod Forge 2012-09-10 21:18:59 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@19737b9f delivered to mod Forge 2012-09-10 21:18:59 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@19737b9f to mod CEVICRAFT 2012-09-10 21:18:59 [sEVERE] [ForgeModLoader] The mod CEVICRAFT appears to have an invalid method annotation PreInit. This annotation can only apply to methods with argument types [class cpw.mods.fml.common.event.FMLPreInitializationEvent] -it will not be called 2012-09-10 21:18:59 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into CEVICRAFT 2012-09-10 21:18:59 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.NoClassDefFoundError: net/minecraft/src/Block 2012-09-10 21:18:59 [iNFO] [sTDERR] at java.lang.Class.forName0(Native Method) 2012-09-10 21:18:59 [iNFO] [sTDERR] at java.lang.Class.forName(Unknown Source) 2012-09-10 21:18:59 [iNFO] [sTDERR] at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:51) 2012-09-10 21:18:59 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:348) 2012-09-10 21:18:59 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2012-09-10 21:18:59 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2012-09-10 21:18:59 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2012-09-10 21:18:59 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2012-09-10 21:18:59 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) 2012-09-10 21:18:59 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2012-09-10 21:18:59 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) 2012-09-10 21:18:59 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) 2012-09-10 21:18:59 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268) 2012-09-10 21:18:59 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:124) 2012-09-10 21:18:59 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2012-09-10 21:18:59 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2012-09-10 21:18:59 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2012-09-10 21:18:59 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2012-09-10 21:18:59 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) 2012-09-10 21:18:59 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2012-09-10 21:18:59 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) 2012-09-10 21:18:59 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) 2012-09-10 21:18:59 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268) 2012-09-10 21:18:59 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81) 2012-09-10 21:18:59 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:442) 2012-09-10 21:18:59 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:141) 2012-09-10 21:18:59 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.a(Minecraft.java:405) 2012-09-10 21:18:59 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:737) 2012-09-10 21:18:59 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source) 2012-09-10 21:18:59 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: net.minecraft.src.Block 2012-09-10 21:18:59 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:100) 2012-09-10 21:18:59 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source) 2012-09-10 21:18:59 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source) 2012-09-10 21:18:59 [iNFO] [sTDERR] ... 29 more 2012-09-10 21:18:59 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException 2012-09-10 21:18:59 [iNFO] [sTDERR] at org.objectweb.asm.ClassReader.<init>(Unknown Source) 2012-09-10 21:18:59 [iNFO] [sTDERR] at cpw.mods.fml.common.asm.transformers.MarkerTransformer.transform(MarkerTransformer.java:95) 2012-09-10 21:18:59 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:142) 2012-09-10 21:18:59 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:93) 2012-09-10 21:18:59 [iNFO] [sTDERR] ... 31 more I don't know the error. Help me please. The error success when i put my mod in the folder "mods". Thanks by advance
IPS spam blocked by CleanTalk.