
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.
⬇ Download on ModrinthVeinsConfiguring 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.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as customvirtualvein-1.0.3.jar — drop this file into the mods folder
- Download size: 111 KB
- Download link checked 10 Sept 2026 — working
These come from our own check of the pack file, not from the source page.