Removing Oregen Doesn´t Work
McJJsHD opened this issue · 6 comments
For a new Modpack i wanted to remove the oregen of certain mods, to not have for example 5 different copper ores. I tried to use this code.
onEvent('worldgen.remove', event => {
event.removeOres(ores => {
ores.setBlocks(['create:copper_ore', 'iceandfire:copper_ore', 'thermal:copper_ore', 'immersiveengineering:ore_copper', 'thermal:tin_ore','iceandfire:silver_ore','thermal:silver_ore','immersiveengineering:ore_silver','immersiveengineering:ore_nickel','immersiveengineering:ore_uranium','immersiveengineering:ore_lead'])
})
console.log("Removing oregen....")
})
onEvent('worldgen.remove', event => {
event.removeOres(ores => {
ores.blocks = [ 'minecraft:coal_ore', 'minecraft:iron_ore' ] // Removes coal and iron ore
})
})
I am not really sure if the issue lies with KubeJs because certain ores don´t generate.
I did some more Testing. I think the issue lies with immersive engineering. Every other ore i don´t want to generate doesn´t generate. Where the issue directly is? idk.
Since the feature name is just
immersiveengineering:copper
, can you try with that? Just wanna see things
I tried, it didn´t work
Fair enough. If it works with all other features from other mods though, i‘m pretry certain that this may be on IE‘s end
Since the feature name is just immersiveengineering:copper
, can you try with that? Just wanna see things