Mineuniverse
Log in Register
Mods

Custom Virtual Vein

Set connected virtual ore veins of different sizes for world blocks through configuration files and mine them using MBD2's custom machinery.
by Non_coffee
Download Claim this project
57 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Ores and Resources Utility & QoL World Gen

VeinsConfiguring Virtual Veins of Varying Sizes in World Chunks and Connecting Them, Using Multiblocked2 Custom Machinery for Mining. Vein Characteristics Need to be Added to the Machine.

Also set vein conditions within recipe conditions.

Recipe input can be arbitrary (input cannot be set to a vein), but the output must be set to a vein.

After saving the above settings, you can use primary, intermediate, and advanced vein detectors as well as vein displays to view veins in the world.

Regarding vein settings, the configuration file path is: .config/customvirtualvein/veins.json

Complete Configuration File:

{
  "_comment": "Vein Configuration File - Custom Virtual Vein Configuration",
  "_doc_name": "name: Unique vein identifier (in English)",
  "_doc_displayName": "displayName: Vein display name",
  "_doc_minCapacity": "minCapacity: Minimum capacity",
  "_doc_maxCapacity": "maxCapacity: Maximum capacity",
  "_doc_outputs": "outputs: Output list",
  "_doc_output_type": "output.type: item/block/fluid",
  "_doc_output_id": "output.id: Resource ID (e.g., minecraft:raw_iron)",
  "_doc_output_weight": "output.weight: Weight",
  "_doc_output_amount": "output.minAmount/maxAmount: Quantity range",
  "veins": [
    {
      "name": "iron_vein",
      "displayName": "Iron Vein",
      "minCapacity": 2000,
      "maxCapacity": 8000,
      "outputs": [
        {
          "type": "item",
          "id": "minecraft:raw_iron",
          "weight": 70,
          "minAmount": 1,
          "maxAmount": 3
        },
        {
          "type": "item",
          "id": "minecraft:iron_nugget",
          "weight": 20,
          "minAmount": 1,
          "maxAmount": 5
        },
        {
          "type": "item",
          "id": "minecraft:raw_copper",
          "weight": 10,
          "minAmount": 1,
          "maxAmount": 2
        }
      ]
    },
    {
      "name": "oil_vein",
      "displayName": "Oil Vein (Fluid Example)",
      "minCapacity": 10000,
      "maxCapacity": 50000,
      "outputs": [
        {
          "type": "fluid",
          "id": "minecraft:lava",
          "weight": 100,
          "minAmount": 100,
          "maxAmount": 500
        },
        {
          "type": "fluid",
          "id": "minecraft:water",
          "weight": 10,
          "minAmount": 100,
          "maxAmount": 500
        }
      ]
    }
  ]
}

After configuring the file, place the machine configured for vein mining in the chunk corresponding to the vein and power it on.

customvirtualvein-1.0.3.jar
MC Client, 1.20.1, Forge, Server
Release 2026-05-24 Get

More from Non_coffee

Structural Tools
79
mbd2thread
6,002

You Might Also Like

Liberty's Villagers
Quality of Life and AI improvements for Villagers
9,968,428
No More Pop-ups
A Minecraft mod to remove in-game pop-ups
996,708
BetterRandomSourceConcurrencyCrash
Improved logging of crashes caused by mods accessing RandomSources from the wrong thread
99,371
Exit Confirmation
Often accidentally closed Minecraft? This mod might help!
99,067
NoDynamicFps
Adds an option to disable Vanilla's Dynamic FPS implementation
99,004
Immersive Crafting
Adds crafting recipes to immersive portals
9,998