1.0.0
Compatibility
Required content
Changes
Configuring 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.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:QDwwH1hH:8asd25zm"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:QDwwH1hH:8asd25zm"
}

