Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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 !

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

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

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.

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

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.