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.

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.

The Custom Virtual Vein Team

profile avatar
  • 3
    Projects
  • 4.9K
    Downloads

More from Non_coffee

  • mbd2thread project image

    mbd2thread

    • 4.8K
    • Mods

    Mbd2Thread adds parallel recipe threads, fuel adaptation, and improved editor localization to Multiblocked2. Features builder state fixes, fluid-safe placement order, and material repository binding for easier construction.

    • 4.8K
    • May 26, 2026
    • Mods
    • +3
  • Structural Tools project image

    Structural Tools

    • 51
    • Mods

    A utility mod for exporting Minecraft structures to JSON (including Modular Machinery format), featuring a powerful Blockbench plugin for structure optimization, merging, and visualization.

    • 51
    • February 23, 2026
    • Mods
    • +1
  • mbd2thread project image

    mbd2thread

    • 4.8K
    • Mods

    Mbd2Thread adds parallel recipe threads, fuel adaptation, and improved editor localization to Multiblocked2. Features builder state fixes, fluid-safe placement order, and material repository binding for easier construction.

    • 4.8K
    • May 26, 2026
    • Mods
    • +3
  • Structural Tools project image

    Structural Tools

    • 51
    • Mods

    A utility mod for exporting Minecraft structures to JSON (including Modular Machinery format), featuring a powerful Blockbench plugin for structure optimization, merging, and visualization.

    • 51
    • February 23, 2026
    • Mods
    • +1