August 9, 201510 yr Author I tested a bit futher and it seems that the debug-mode in eclipse always and the exported .jar file sometimes completely bypassing the public void renderItem(ItemRenderType type, ItemStack item, Object... data) method. And again, if someone as some ideas on whats going on with that: reply please!
August 10, 201510 yr Author Oh! My! God! I solved the problem. I don't even need to explain what I did: Here a part of my old main.java: @EventHandler public void preInit(FMLPreInitializationEvent event){ allobjects(); allRegisters(); Recipes_Items.allItemRecipes(); Recipes_Blocks.allBlockRecipes(); } @EventHandler public void load(FMLPreInitializationEvent event){ } @EventHandler public void postInit(FMLPreInitializationEvent event){ proxy.registerRenders(); } and a part of the main.java as it is now: @EventHandler public void preInit(FMLPreInitializationEvent event ){ allobjects(); allRegisters(); Recipes_Items.allItemRecipes(); Recipes_Blocks.allBlockRecipes(); } @EventHandler public void load(FMLInitializationEvent event){ } @EventHandler public void postInit(FMLPostInitializationEvent event){ proxy.registerRenders(); } Thanks for the help... There are no words that would describe how silly I feel at the moment... *faceplam*
August 10, 201510 yr Those two look identical. What did you find? Long time Bukkit & Forge Programmer Happy to try and help
August 10, 201510 yr Those two look identical. What did you find? The original code had FMLPreInitializationEvent as the parameter for all three methods instead of each method having the appropriate event parameter. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
August 10, 201510 yr Ah, thanks. I looked at that for a few minutes and my mind just wanted to read what it thought should be there and I couldn't see it. Long time Bukkit & Forge Programmer Happy to try and help
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.