This is a companion datapack for the VeinDigging mod. It introduces a global blacklist.
The purpose is to prevent one-click-destroying of buildings.
I've tried to put a playable list of blocks together.
These blocks cannot be veinmined:
"minecraft:cobblestone",
"minecraft:stone_bricks",
"minecraft:cobbled_deepslate",
"#minecraft:planks",
"#minecraft:slabs",
"#minecraft:stairs",
"minecraft:polished_diorite",
"minecraft:polished_andesite",
"minecraft:polished_granite",
"minecraft:farmland"
The planks, slabs and stairs tags do probably work for the Fabric loader only.
As of version 1.0.1 the blocks from the CastleBlocks Mod are protected, too.
Put it in the world's datapack folder. Restart the world. If on a server then restart the MC instance on that server.
Optional
Required
Terms for using, modifying and redistributing this product.
05.11.2024 · Modrinth
Added minecraft:bricks
Mod support added: Macaws Bridges.
Added macaws stone bridges and stairs
Screenshots and images from the original Modrinth page.

Published versions and original Modrinth files.
05.11.2024 · 780 downloads
Added minecraft:bricks
Mod support added: Macaws Bridges.
Added macaws stone bridges and stairs
12.10.2024 · 68 downloads
Added support for the CastleBlocks Mod
10.10.2024 · 50 downloads
First blocklist introduced for protection.