Jump to content

Blocks on Creative mod


samhalo007

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

×
×
  • Create New...

Important Information

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