Custom Ore Veins
Modby orlouge
Allows you to add more types of large ore veins through datapacks
Type
Mod
CurseForge Downloads
74,872
CurseForge ID
949185
Last Updated
Sep 19, 2026
Description

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.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Screenshots
Similar Mods
Alphabet Soup [Cobblemon]
Cobblemon Unown Addon So many letters.
Battle Towers
Adds Battle Towers (WIP)
RFTools Power / OC Integration
Read ALL the power!
[FCL] Fexcraft Common Library
Library with inbuilt API and some Util files.
Shutters
a small decoration mod for your windows
Create: Addon Compatibility
Adds compatibility between different create addons.