
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.
About this Mod
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.
Available Versions
How to Install Custom Virtual Vein on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.1).
Install Mod
Open the mod browser in the dashboard and search for "Custom Virtual Vein". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Custom Virtual Vein server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.
Is Custom Virtual Vein compatible with forge?
Custom Virtual Vein officially supports forge for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Custom Virtual Vein – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Custom Virtual Vein 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 Virtual Vein with just one click on your server.