Download Custom Ore Veins — Minecraft Mods — MetaMods
Custom Ore Veins

Custom Ore Veins

Active

Downloads

3

Last update

1 year ago
Client
Fabric
Quilt
Forge
Neoforge
Utils
World generators

Custom Ore Veins - Customizable Ore Veins for Minecraft

Redstone vein Example redstone vein from the demonstration datapack.

This mod opens up endless possibilities for configuring the generation of large ore deposits in Minecraft. Now you can create not only standard iron and copper veins, but also completely new types of ore deposits of any complexity.

How the Configuration System Works

The mod doesn't add ready-made veins by default, but provides a flexible configuration system through datapacks. All settings are stored in JSON format files at the path data/your_namespace/worldgen/custom_ore_veins/your_vein.json.

Main Configuration Parameters

Required parameters (marked with underline):

  • dimension - determines the dimension for vein generation (default - overworld)
  • toggle - settings for world areas where veins can appear:
    • density - density function for calculating toggle value
    • max_value - maximum value for vein generation
    • min_value - minimum value for vein generation
    • min_y - minimum Y coordinate for generation
    • max_y - maximum Y coordinate for generation
  • ridged - determines the shape of veins (if not specified, uses standard vanilla vein shape)
  • gap - settings for ore generation instead of base stone
  • stone - base stone block
  • ore - ore block
  • raw_ore - raw ore block (default matches ore)
  • min_ore_chance - chance of ore generation in the outer part of the vein (default: 0.16)
  • max_ore_chance - chance of ore generation in the inner part of the vein (default: 0.5)
  • raw_ore_chance - chance of replacing regular ore with raw ore (default: 0.02)

Easy Way to Start

If you don't want to deal with complex density functions, simply use the ready-made example datapack that adds redstone and coal veins. Copy and rename the files, replacing the stone blocks, ore blocks, and references to noise functions. Remember that veins from the same pair never generate in the same location (like copper and iron in vanilla game).

Project members
orlouge

orlouge

orlouge_

orlouge_

Created: 12 Dec 2023

ID: 26044