Hey, my friend want to add ores into the mining dimension from atm (only the mod not the modpack).
Its difficulty to finds out how to add them correct.
In other modpacks for 1.18.2 this script works completely, also in other dimensions.
Is this atm related or is the script actually wrong.
Thx for read and wasting your time for me
onEvent('worldgen.add', event => {
event.addOre((ore) => {
ore.id = "kubejs:gold_block" // optional
ore.biomes = "allthemodium:mining"
ore.addTarget('minecraft:stone', 'minecraft:gold_block')
ore.addTarget('minecraft:deepslate', 'minecraft:gold_block')
ore.size(50) // ores per cluster
ore.count([1,3]) // clusters per chunk, can also be a range eg ore.count(15,20)
ore.worldgenLayer = "underground_ores"
ore.triangleHeight(-63, 70)
ore.chance = 200
})
})