Hey everyone, I recently started modding and I'm starting to get the hang of it.
But I have a problem, I have my custom ore block, and I want it to generate in caves, so I have this code:
for(Biome biome : ForgeRegistries.BIOMES) {
biome.addFeature(Decoration.UNDERGROUND_ORES, new ConfiguredFeature<OreFeatureConfig>(Feature.ORE, new OreFeatureConfig(FillerBlockType.NATURAL_STONE, /*My block*/.getDefaultState(), 100)));
}
It works, but only close to bedrock... How can I make it spawn a little bit higher?
Thanks