CurseForge · Minecraft mod
Custom Ore Veins
Allows you to add more types of large ore veins through datapacks
Quick answer
Which Custom Ore Veins release should I use?
Custom Ore Veins customoreveins-1.0.2.jar targets 1.21.5 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Custom Ore Veins required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Custom Ore Veins customoreveins-1.0.2.jar need?
customoreveins-1.0.2.jar. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Custom Ore Veins without breaking your instance.
Built for Custom Ore Veins customoreveins-1.0.2.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use customoreveins-1.0.2.jar. It targets 1.21.5 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside customoreveins-1.0.2.jar. It opens that exact file at the source.
About this project
What does Custom Ore Veins add?

Redstone vein from the example datapack.
With this mod you can configure more types of large ore veins other than iron and copper. It doesn't add any by default, it reads data/yournamespace/worldgen/custom_ore_veins/yourvein.json files from each datapack, which should have the following format (the underlined keys are mandatory):
- dimension: dimension type in which this vein is generated (overworld if not specified).
- toggle: determines the regions of the world in which this vein can be generated:
- density: a density function from which the toggle value is calculated.
- max_value: maximum value of the toggle value at which the veins are generated (optional if min_value is specified).
- min_value: minimum value of the toggle value at which the veins are generated (optional if max_value is specified).
- min_y: minimum Y at which the vein is generated.
- max_y : maximum Y at which the vein is generated.
- ridged : determines the shape of the veins. If not specified, it uses the same as the vanilla copper and iron veins, which is not recommended because it causes them to overlap with the added ones.
- density: density function from which the ridged value is calculated (optional, see above).
- min_value: minimum ridged value at which blocks are generated (default is 0).
- gap: determines where ores are generated as opposed to the base stone. If not specified, it uses the vanilla one.
- density: density function from which the gap value is calculated (optional, see above).
- min_value: minimum gap value at which ores are generated (default is -0.3).
- stone: base rock block.
- ore: ore block.
- raw_ore: raw ore block (same as ore if not specified).
- min_ore_chance: chance of generating a ore block in the outer part of the vein (default: 0.16).
- max_ore_chance: chance of generating a ore block in the inner part of the vein (default: 0.5).
- raw_ore_chance: chance of replacing a ore block with a raw ore one (default 0.02).
If you (understandably) don't want to learn about density functions and stuff, you can copy and rename each file from the example datapack (which adds redstone and coal veins) for each pair of vein type, and then change the stone, ore, raw_ore blocks and the references to the noise functions (ore_veinness, etc.). Note that the veins from the same pair are never generated at the same location (just like copper and iron), if you don't want that you can add only one vein file for each set of noise files instead of two.
Project description from CurseForge.
Pick your setup
Custom Ore Veins by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.1
2 loader builds1.21
2 loader builds1.20.1
2 loader builds1.20
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Custom Ore Veins versions and loaders
customoreveins-1.0.2.jar
28 Aug 2025
customoreveins-neoforge-1.0.1.jar
15 Dec 2024
customoreveins-fabric-1.0.1.jar
15 Dec 2024
customoreveins-1.20-1.0.0-forge.jar
12 Dec 2023
customoreveins-1.20-1.0.0-fabric.jar
11 Dec 2023
Looking for an older file? The official CurseForge project page is in Resources.