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

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

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.

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

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.

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

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.

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.

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.