Posted July 5, 201312 yr When launching the mod from eclipse it works just fine, but after reobf and trying to launch zip* version, it crashes. It is unable to bindCustomTileEntityRenderer. Here is the log: http://pastebin.com/JntNes0G Help required) http://www.minecraftforum.net/topic/1871576-152-161forgealchemy-enhance-your-brewing-expirience-now-with-downloads/ Check it out!
July 5, 201312 yr make sure you're calling the methdo from the right side, if its a render thign you should be calling it from CLIENT side (aka in a client proxy) how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 5, 201312 yr Author It is trying to register renderer in the ClientProxy. Should I add another @SideOnly(Side.CLIENT) annotation? http://www.minecraftforum.net/topic/1871576-152-161forgealchemy-enhance-your-brewing-expirience-now-with-downloads/ Check it out!
July 5, 201312 yr nope, never do that, i dont have access to pastebin as my work blocks it. can you use spoilers and include your client proxy and main mod class? how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 5, 201312 yr Author Allright. There it goes: Crash report: ---- Minecraft Crash Report ---- // Don't do that. Time: 05.07.13 22:34 Description: Failed to start game cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: cpw.mods.fml.client.registry.ClientRegistry.bindTileEntitySpecialRenderer(Ljava/lang/Class;Lbje;)V at cpw.mods.fml.common.LoadController.transition(LoadController.java:142) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206) at net.minecraft.client.Minecraft.startGame(Minecraft.java:448) at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44) at net.minecraft.client.Minecraft.run(Minecraft.java:733) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoSuchMethodError: cpw.mods.fml.client.registry.ClientRegistry.bindTileEntitySpecialRenderer(Ljava/lang/Class;Lbje;)V at mokonaDesu.alchemypp.client.ClientProxy.registerRenderers(ClientProxy.java:13) at mokonaDesu.alchemypp.AlchemyPP.load(AlchemyPP.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:690) ... 5 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.5.2 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_05, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 882790184 bytes (841 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v7.51 FML v5.2.12.712 Minecraft Forge 7.8.0.712 4 mods loaded, 4 mods active mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML{5.2.12.712} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized Forge{7.8.0.712} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized AlchemyPlusPlus{indev} [AlchemyPlusPlus] (AlchemyPP.zip) Unloaded->Constructed->Pre-initialized->Errored LWJGL: 2.4.2 OpenGL: ATI Radeon HD 3200 Graphics GL version 2.1.8787, ATI Technologies Inc. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Texture Pack: Default Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null main mod class: package mokonaDesu.alchemypp; import mokonaDesu.alchemypp.blocks.BlockRegistry; import mokonaDesu.alchemypp.client.APPClientPacketHandler; import mokonaDesu.alchemypp.client.ClientProxy; import mokonaDesu.alchemypp.gui.APPGuiHandler; import mokonaDesu.alchemypp.items.ItemRegistry; import mokonaDesu.alchemypp.tileentities.TileEntityLiquidMixer; import mokonaDesu.alchemypp.tileentities.TileEntityPotionContainer; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.Mod.PostInit; import cpw.mods.fml.common.Mod.PreInit; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.network.NetworkMod.SidedPacketHandler; import cpw.mods.fml.common.network.NetworkRegistry; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; @Mod(modid = "AlchemyPlusPlus", name = "AlchemyPlusPlus", version = "indev") @NetworkMod(clientSideRequired = true, serverSideRequired = false, clientPacketHandlerSpec = @SidedPacketHandler(channels = {"AlchemyPlusPlus"}, packetHandler = APPClientPacketHandler.class), serverPacketHandlerSpec = @SidedPacketHandler(channels = {"AlchemyPlusPlus"}, packetHandler = APPServerPacketHandler.class)) public class AlchemyPP { @Instance("AlchemyPlusPlus") public static AlchemyPP instance = new AlchemyPP(); public static APPGuiHandler guiHandler = new APPGuiHandler(); public static APPWorldGenerator worldGen = new APPWorldGenerator(); @SidedProxy(clientSide="mokonaDesu.alchemypp.client.ClientProxy", serverSide="mokonaDesu.alchemypp.CommonProxy") public static CommonProxy proxy; @PreInit public void preInit(FMLPreInitializationEvent event) { //TODO: Compile the list of modules to be loaded } @Init public void load(FMLInitializationEvent event) { GameRegistry.registerTileEntity(TileEntityPotionContainer.class, "potionKegTE"); GameRegistry.registerTileEntity(TileEntityLiquidMixer.class, "LiquidMixerTE"); proxy.registerRenderers(); BlockRegistry.registerBlocks(); ItemRegistry.registerItems(); BlockRegistry.registerBlockRecipes(); ItemRegistry.registerItemRecipes(); NetworkRegistry.instance().registerGuiHandler(AlchemyPP.instance, this.guiHandler); GameRegistry.registerWorldGenerator(worldGen); } @PostInit public void postInit(FMLPostInitializationEvent event) { } } Client Proxy class: package mokonaDesu.alchemypp.client; import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.client.registry.RenderingRegistry; import net.minecraftforge.client.MinecraftForgeClient; import mokonaDesu.alchemypp.CommonProxy; import mokonaDesu.alchemypp.renderer.TileEntityPotionContainerRenderer; public class ClientProxy extends CommonProxy { @Override public void registerRenderers() { ClientRegistry.bindTileEntitySpecialRenderer(mokonaDesu.alchemypp.tileentities.TileEntityPotionContainer.class, new TileEntityPotionContainerRenderer()); } } Note that the mod is working allright when launched from eclipse. Only zipped version crashes. http://www.minecraftforum.net/topic/1871576-152-161forgealchemy-enhance-your-brewing-expirience-now-with-downloads/ Check it out!
July 5, 201312 yr did it change in 1.5.2 (im still 1.5.1) because im suing RenderingRegistry.registerTileEntitySpecialRenderer... or somethign like that (client proxy line 13) how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 5, 201312 yr Author Now it is don via the ClientRegistry. But even if it is done another way, then mod would not work when launched in eclipse too. http://www.minecraftforum.net/topic/1871576-152-161forgealchemy-enhance-your-brewing-expirience-now-with-downloads/ Check it out!
July 5, 201312 yr hen .. cant tell then, what is it saying if you use RenderingRegistry.registerTileEntitySpecialRenderer ?? edit: nvm i saw in the javadoc that it doesnt even exists anymore. how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 5, 201312 yr Author I am gonna check everything once more. I may have packed the zip* wrong or something, so it can't find forge methods anymore. http://www.minecraftforum.net/topic/1871576-152-161forgealchemy-enhance-your-brewing-expirience-now-with-downloads/ Check it out!
July 5, 201312 yr you could always use the old method of adding your files inside %appdata%/.minecraft/bin/minecraft.jar how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
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.