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 all,

 

I'm attempting to do some modifications to vanilla items (Pumpkin pie for example), and what I've done so far is:

 

1) remove the crafting recipe for the vanilla item and

2) create a new mod item to replace.

 

The only issue I'm having is that the original vanilla item still shows up in creative. Is there a way to remove a vanilla item from creative mode?

 

Alternatively, is there another way I could go about solving this problem? Is it possible to override the hunger/saturation values of a vanilla item?

 

Thanks!

Hi

 

I think you could probably overwrite Item.pumpkinPie with your own item information, so long as you derive it from ItemFood.  It's probably not "best practice" but I imagine it would work ok.

 

-TGG

  • 8 years later...
On 10/11/2013 at 5:25 AM, GotoLink said:

Item.pumpkinPie.setCreativeTab(null);

I'm new to modding and I want to do this. What class would I put that in?

loop through all Items in FMLCommonSetupEvent,
also you need to use reflection to set the new CreativeModeTab

Edited by Luis_ST

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.