Jump to content

Recommended Posts

Posted (edited)

Hi

I want to change the vanilla ore generation.

For example I want to make Iron ore more rare (generates lower, in smaller veins and less veins)

I have absolutly no idea where to start. Do I have to somehow remove the vanilla generation and add my own

or can I just change it somewhere?!

 

I use 1.15.2 but i want to update in the future.

 

Thanks in advance!

 

Edited by jmb19905
Posted (edited)

Yes, you need to remove the feature that generates the iron ore from every biome in the game. This is because every biome register its own set of features, and all of the biomes have the basic ore generation feature registered. So after removing ore generation from every biome you need to loop through them again and add the ore feature with your custom generation parameters. I suggest you to look into some vanilla biome classes to get an idea how features are added. Also in the DefaultBiomeFeatures class you can find many informations, such as the parameters used by vanilla for ore generation (vein sizes, max and min height etc...), and you can also see how to create features.

Edited by Beethoven92

Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port

Posted (edited)

You have to loop through every biome and remove the feature that is responsible for ore generation. As i said, take a look at the classes i suggested and also take a look at this post, which exactly matches your problem:

https://forums.minecraftforge.net/topic/89281-solved-115x-disable-vanilla-ore-gen-or-change-the-fillerblocktype/?tab=comments#comment-415925

Edited by Beethoven92
  • Thanks 1

Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.