diff --git a/docs/Modpacks/KubeJS/Server-Scripts/Ore-Generation.md b/docs/Modpacks/KubeJS/Server-Scripts/Ore-Generation.md index 2f442da..2c058ab 100644 --- a/docs/Modpacks/KubeJS/Server-Scripts/Ore-Generation.md +++ b/docs/Modpacks/KubeJS/Server-Scripts/Ore-Generation.md @@ -70,6 +70,17 @@ GTCEuServerEvents.oreVeins(event => { ``` +??? example "Removing all ore veins" + If you want to remove **all** predefined ore veins (for example if you want to completely change ore generation + in your modpack), you can use the following code: + + ```js + GTCEuServerEvents.oreVeins(event => { + GTRegistries.ORE_VEINS.keys().forEach(id => event.remove(id)) + }) + ``` + + ## Modifying Contents of an Existing Vein ```js title="ore_vein_modify_contents.js"