Custom Ore Veins

Custom Ore Veins

Allows you to add more types of large ore veins through datapacks

by
745 Downloads
fabricforgeneoforgedecorationgame-mechanicsworldgen
Rent Server with this Mod

Screenshots

Custom Ore Veins Screenshot 1

About this Mod

Redstone vein
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:

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.

Available Versions

Custom Ore Veins 1.0.2release
MC 1.21.5fabric
December 29, 2025
Custom Ore Veins 1.0.1release
MC 1.21, 1.21.1fabric
December 29, 2025
Custom Ore Veins 1.0.1release
MC 1.21, 1.21.1neoforge
December 29, 2025
Custom Ore Veins 1.0.0release
MC 1.20, 1.20.1fabric
December 29, 2025
Custom Ore Veins 1.0.0release
MC 1.20, 1.20.1forge
December 29, 2025

How to Install Custom Ore Veins on Your Server

1

Order Server

Order a Minecraft Java server with at least 4 GB RAM (6 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.5).

3

Install Mod

Open the mod browser in the dashboard and search for "Custom Ore Veins". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforgeneoforge

Minecraft Versions

1.21.5, 1.21.1, 1.21 (+2 more)

Server-side

Required

Recommended RAM

6 GB(min. 4 GB)

Frequently Asked Questions

Custom Ore Veins server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 4 GB RAM is allocated and the loader matches the mod version (1.21.5). You can switch loaders with one click in the panel.

Is Custom Ore Veins compatible with fabric and forge and neoforge?

Custom Ore Veins officially supports fabric, forge, neoforge for Minecraft 1.21.5, 1.21.1, 1.21. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Custom Ore Veins – how to optimize performance?

Recommended RAM: 6 GB (per 5 players). Use /spark profiler to check if Custom Ore Veins consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Custom Ore Veins with just one click on your server.

Recommended RAM
6 GBab €12/mo
Min. 4 GB | +1 GB pro 5 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.51.21.11.211.20.11.20