Jump to content

Recommended Posts

Posted

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 !

Posted

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));
    }

Posted

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...)

Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.