AndyLun Posted January 9, 2013 Share Posted January 9, 2013 Hello guys, for some reason, I wanted to remove the vanilla Iron and Gold Ore and replacing them with my own Iron/Gold ores. How can this be possible ? I think that will have to be messing around vanilla files... Anyways, please help. Thanks alot. Quote Link to comment Share on other sites More sharing options...
luacs1998 Posted January 9, 2013 Share Posted January 9, 2013 Use the vanilla blockIDs for the respective ores for your mod ores. Quote Read the EAQ before posting! OR ELSE! This isn't building better software, its trying to grab a place in the commit list of a highly visible github project. www.forgeessentials.com Don't PM me, I don't check this account unless I have to. Link to comment Share on other sites More sharing options...
AndyLun Posted January 9, 2013 Author Share Posted January 9, 2013 Just that simple ? Alright, I will test it out. I thought it would be hard... Quote Link to comment Share on other sites More sharing options...
AndyLun Posted January 9, 2013 Author Share Posted January 9, 2013 Oops, seems like I can't just straight away and do that. It crashes and says java:IllegalArgumentException : Slot 15 (its iron ore) is already occupied by net.minecraft.src.block.BlockOre@xxxxx < random numbers/letters Please Help ? Thanks Quote Link to comment Share on other sites More sharing options...
dmillerw Posted January 10, 2013 Share Posted January 10, 2013 This might not be the right (or best) way of doing things, but you can replace Block.oreGold and Block.oreIron with your ores, since they're not set to final. Quote Link to comment Share on other sites More sharing options...
AndyLun Posted January 11, 2013 Author Share Posted January 11, 2013 Hey there, I've solved the problem. I got into net.minecraft.src.biome.BiomeDecorator, and I commented out the lines regarding to the iron and gold spawning lines and variables. Everything works just fine. Since then I haven't found a Single Piece of Iron or Gold. Quote Link to comment Share on other sites More sharing options...
Cloudy Posted January 11, 2013 Share Posted January 11, 2013 Editing base classes is hardly a solution. The simple solution is, change Block.blocksList[] and set the gold and iron vanilla ores to null first. Quote Link to comment Share on other sites More sharing options...
Aquillian Posted January 11, 2013 Share Posted January 11, 2013 Any Editing of Base Classes will be undone by forge if you release the mod since removing anything from vanilla Minecraft is bad and could/ would cause major conflicts with other mods. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.