Custom Ore Veins
by orlouge
Custom Ore Veins lets server owners define large ore veins of their own through datapacks, rather than relying only on the vanilla copper and iron veins.
What it does
Veins are added by datapack, so a pack author can create new vein types without changing code. A datapack controls which dimension types a vein generates in, and the regions of the world it may fill. A vein can be given a minimum and a maximum Y level, and a minimum and a maximum value for the density functions that decide where it appears. Two optional value limits can be set on their own, and a toggle turns each density function on or off.
Shape and content are set per vein. One setting determines the shape of the vein, and the vein can replace the stone that surrounds it, or a different base rock block. Ore blocks, raw ore blocks and the chance of each ore appearing in the outer and inner parts of a vein are all configurable. A redstone vein example datapack is included to show how a vein is written. The authors advise against using the same shape as vanilla copper and iron veins, because the two would overlap.
Custom Ore Veins is a server-side mod: the server needs it, and players join without installing anything. It is published for Fabric, Forge and NeoForge, with files for 1.20 – 1.21.5. The mod is open source under the MIT License, and its source code and issue tracker are public.
Key features
Datapack-defined veins
New vein types are written as datapack entries, so a world can gain custom ore without a code change.
Dimension and region control
Each vein names the dimension types it generates in and the regions of the world it can fill.
Y level and value limits
Minimum and maximum Y levels, plus optional density function bounds, decide where a vein may appear.
Ore and base block settings
Ore blocks, raw ore blocks, a base rock block and per-part ore chances are set for each vein.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Block Veins is a server-side mod for Forge and NeoForge with files for 1.20.1 – 1.21.11, released under the MIT License and not open source. Legacy Ore Drops (Old Ore Drops) covers Fabric, Forge and NeoForge for 1.20.1 – 1.21.8 and is released under the GNU General Public License v3.0 only; the server must run it, while clients may leave it out. HB's Ore Clusters and Regen needs both the server and every player, supports Fabric, Forge and NeoForge for 1.20.1 – 1.21.1, and is released under the MIT License.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Custom Ore Veins | Fabric, Forge and NeoForge | 1.20 – 1.21.5 | Server-side only | 2025-12-29 |
| Block Veins | Forge and NeoForge | 1.20.1 – 1.21.11 | Server-side only | 2025-12-14 |
| Legacy Ore Drops (Old Ore Drops) | Fabric, Forge and NeoForge | 1.20.1 – 1.21.8 | Server required, client optional | 2026-06-21 |
| HB's Ore Clusters and Regen | Fabric, Forge and NeoForge | 1.20.1 – 1.21.1 | Client and server | 2026-06-14 |
Questions
Does Custom Ore Veins need to be installed on every player's client?
Which loaders does Custom Ore Veins support?
Should a vein use the same shape as vanilla copper and iron?
In the catalog
Custom Ore Veins is one of 8,515 World generation mods on ModsFinder, and one of 4,027 World generation mods for Fabric. 15,307 mods support Minecraft 1.21.5.
More from orlouge
Similar mods
What the author says
Redstone vein from the example datapack. 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…
Official listing
- Modrinth page
- modrinth.com/mod/customoreveins
- Owner
- orlouge
- Published
- 2025-12-29
- Updated on Modrinth
- 2025-12-29
- Facts verified
- 2026-10-15
