Posted November 14, 201212 yr Hi! First sorry for my bad English... Well, my problem is that I modding with Forge for 1.4.2 but my new blocks don't show in the Creative Mod... And the GameRegistry.addName too... So I can't make my mod !!! Please help me !
November 15, 201212 yr you need to set the creative tab for your block then add it to the creative list. Use this as an example https://github.com/DarkGuardsman/BasicUtilities/blob/master/common/dark/BasicUtilities/ItemParts.java You want this.setCreativeTab(CreativeTabs.tabMaterials); and this, though it might be diffrent for Block.class @Override public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List par3List) { par3List.add(new ItemStack(this, 1, meta)); } http://i577.photobucket.com/albums/ss215/bobstrong/ModBannerMed.png[/img]
November 15, 201212 yr Author The problem is that ALL the GameRegistry that I did like the GameRegistry.registerBlock, the LanguageRegistry.addName, and the GameRegistry.addRecipe does not work ! I have a serious problem because it's for a server... (I'll all put that on Bukkit...)
November 16, 201212 yr The problem is that ALL the GameRegistry that I did like the GameRegistry.registerBlock, the LanguageRegistry.addName, and the GameRegistry.addRecipe does not work ! I have a serious problem because it's for a server... (I'll all put that on Bukkit...) hmm might want to link your code using paste bin or github so i can try to help your future. However, by the sound of it you messed up your main class file. Might want to use forge tuts to check your code over. http://i577.photobucket.com/albums/ss215/bobstrong/ModBannerMed.png[/img]
November 16, 201212 yr Author H MY God ! I was'nt using the good method for the preinit so all was crashing! but thank you for taking time to reply me !
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.