Hello! I'm learning right now, making my own modpack(aka editting ATM8) and in the worldgen settings, They have this at the start:
WorldgenEvents.remove(event => {
event.removeFeatureById('underground_ores', [
"ftbic:ore_iridium_large",
"ftbic:ore_iridium_buried",
"ftbic:ore_tin_upper",
"ftbic:ore_tin_small",
"ftbic:ore_lead_small",
"ftbic:ore_uranium_extra",
"ftbic:ore_aluminum_upper",
"ftbic:ore_iridium",
"ftbic:ore_aluminum_small",
"ftbic:ore_lead_middle",
"ftbic:ore_uranium",
"ftbic:ore_aluminum_middle",
"ftbic:ore_lead_upper",
"ftbic:ore_uranium_lower",
"ftbic:ore_tin_middle",
"thermal:apatite_ore",
"thermal:cinnabar_ore",
"thermal:lead_ore",
"thermal:nickel_ore",
"thermal:niter_ore",
"thermal:silver_ore",
"thermal:sulfur_ore",
"thermal:tin_ore",
"xycraft_world:ore_aluminum",
"biggerreactors:uranium_ore",
"biggerreactors:deepslate_uranium_ore"
])
})
My assumption is that this was more than likely utilized to help reduce duplicates, but does this also help optimize world generation and new chunk generation? In the same aspect, they have additional events:
event.addOre((ore) => {
ore.id = "kubejs:mining_uraninite"
ore.biomes = ['allthemodium:mining']
ore.addTarget('minecraft:stone', 'powah:uraninite_ore')
ore.addTarget('minecraft:deepslate', 'powah:deepslate_uraninite_ore')
ore.size(4)
ore.count(6)
ore.squared()
ore.uniformHeight(64, 254)
})
I assume this increases performance cost, as it is a new task. If I changed the distribution amount, would this help improve worldgen?