Posted October 2, 20204 yr 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 October 2, 20204 yr by jmb19905
October 2, 20204 yr 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 October 2, 20204 yr by Beethoven92 Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
October 2, 20204 yr Author 1 minute ago, Beethoven92 said: So after removing ore generation from every biome How do I remove the ore generation?
October 2, 20204 yr 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 October 2, 20204 yr by Beethoven92 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.