Posted January 9, 201312 yr 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.
January 9, 201312 yr Use the vanilla blockIDs for the respective ores for your mod ores. 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.
January 9, 201312 yr Author Just that simple ? Alright, I will test it out. I thought it would be hard...
January 9, 201312 yr Author 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
January 10, 201312 yr 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.
January 11, 201312 yr Author 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.
January 11, 201312 yr 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.
January 11, 201312 yr 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.
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.