Posted October 10, 201311 yr 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!
October 11, 201311 yr 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
January 22, 20223 yr 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?
January 22, 20223 yr loop through all Items in FMLCommonSetupEvent, also you need to use reflection to set the new CreativeModeTab Edited January 22, 20223 yr 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.