Posted August 18, 20196 yr I can't seem to find any documentation on removing vanilla ore generation in 1.14.x. does anyone know of a guide or a good place to start? [SOLUTION] Create this class: package com.yourname.yourmod.world; import net.minecraft.world.biome.Biome; import net.minecraft.world.gen.GenerationStage; import net.minecraft.world.gen.feature.Feature; import net.minecraft.world.gen.feature.OreFeatureConfig; import net.minecraft.world.gen.placement.CountRangeConfig; import net.minecraft.world.gen.placement.Placement; import net.minecraftforge.registries.ForgeRegistries; public class OreGeneration { public static void removeVanillaOre() { for (Biome biome : ForgeRegistries.BIOMES) { biome.getFeatures(GenerationStage.Decoration.UNDERGROUND_ORES).clear(); } } } add the class to your main mod class setup event: private void setup(final FMLCommonSetupEvent event) { // some preinit code setup.init(); LOGGER.info("HELLO FROM PREINIT"); LOGGER.info("DIRT BLOCK >> {}", Blocks.DIRT.getRegistryName()); OreGeneration.removeVanillaOre(); } Edited August 18, 20196 yr by andGarrett
August 18, 20196 yr Such a guide does not exist. This is all I know: https://gist.github.com/Barteks2x/41122efc766afdd47aeb457a3c19b275#gistcomment-2989342 Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
August 18, 20196 yr Author 3 hours ago, Draco18s said: Such a guide does not exist. This is all I know: https://gist.github.com/Barteks2x/41122efc766afdd47aeb457a3c19b275#gistcomment-2989342 Thanks! it was surprisingly simple once I knew where to look.
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.