Wiki 9Minecraft Wiki 9Minecraft

Add a custom block to vein mining

Java EditionData PackGuides 4FAQ 10Related mods 60
DownloadVein Miner & Preview Data Pack

Get the files on 9Minecraft

Contents (5)
  1. Adding a vanilla block
  2. Adding a modded block
  3. Adding to other lists
  4. Removing blocks
  5. Verification

Adding a vanilla block

Use this command to add any standard Minecraft block to the ore vein list:

`

/function uvm:add_ore {b:"block_name"}

`

Replace block_name with the block ID (e.g., copper_ore, deepslate_iron_ore).

Adding a modded block

If the block comes from another mod or namespace, include the mod ID:

`

/function uvm:add_ore {n:"modid", b:"block_name"}

`

Adding to other lists

  • For logs: /function uvm:add_log {b:"block_name"}
  • For other diggable blocks: /function uvm:add_dig {b:"block_name"}

Removing blocks

To remove a custom block you've added:

`

/function uvm:remove_ore {b:"block_name"}

`

Verification

After adding a block, test it by crouching and mining a connected cluster. The vein miner should now break all connected blocks of that type.

More guides for this mod