Compatibility
Minecraft: Java Edition
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
VeinMine
Information:
This DataPack integrates the widely spread VeinMine Mod and makes it usable on almost every ingame block. It adds a new Enchantment to the Game. To get the new Enchantment ask your neighbouring Librarian Villager.
The Enchantment Works on Pickaxes, Axes, Shovels and Hoes
How to get and use:
The Enchanted Book does not appear inside the Enchantment Table instead it is a super rare trade offer from a friendly Librarian Villager. When breaking a dirt block with an enchanted veinmine shovel the effect automatically triggers. The range and max size of blocks that get destroyed is fixxed at 64 Blocks. It stops destroying blocks after reaching the limit. (The block limit is hard coded in this pack didnt't take the time to make it variable. tbh I don't think it needs to be) The only restriction I coded is: You cannot Veinmine dirt with a pickaxe, only with the right tool. I made it so that the correct tool for the correct blocks have to be mined
Deactivate Sound and Title reminder
You can activate and deactivate the Veinmining by right-clicking with the tool. While activated you get reminded by sound effects and a title effect. If this coincides with other datapacks or in general is in the way you can deactivate both individually by using "/trigger veinmine_sound" and "/trigger veinmine_title" in the ingame chat. This works even if not OP'ed. For further help use "/trigger veinmine_help".
Tool Durability
Be aware that this datapack accuratly reduces the tools durability while maintaining my best possible performance on both client and server side. I even made the effort to make it compatible with the Unbreaking enchantments. If your tool is to low on durability it stops the mining process with exactly 1 Durability remaining. So even if you forget to watch you durability you are still at fault if you break the tool.
Enchantments
The Enchantments "Fortune" and "Silk Touch" both work as intended. While I can't guarante that you would get exactly the same amount of Item drops if you would have mined the blocks individually. But the item drop rates get calculated identically. As already said it is Unbreaking compatible.
Downsides
There are no drops of Experience Points. I wanted to make this pack as "Vanilla" as possible and this enchantment is as it stands realy overpowered. It is pretty easy to get this enchantment early-game and to make up for the overpoweredness of this you quite literly need unbreaking and/or mending to even use it without breaking a ton of tools. With the additional nerf of not getting as much XP as you would get by mining ores it limits the use of this enchantment further by urging you to build an XP farm to repair the tools with mending. In my oppinion you can decrease the time on gathering building blocks and get back to building faster so the "Vanilla" is still around. How you use this Datapack is up to you. If you got any problem with the overpoweredness of this Datapack you could easily delete the files off all non ore blocks in the "VeinMiner1.21.4/data/minecraft/loot_table/blocks" folder to limit the blocks that get effected by this enchantment.
This VeinMiner DataPack works on all existing Blocks ingame. (Unless you play a Version the Datapack was not made for) Is Multiplayer Friendly.
You can easily mine all the Blocks as much as you want 1 stack at a time. Just keep a close watch on your tools durability. Even with Netherite Tools the Durability drops immensely fast. So use this enchantment with caution.
Resource Pack:
I made a resourcepack to better discern the tools with this enchantment on them.
https://modrinth.com/resourcepack/veinmine-resourcepack
The resourcepack uses the Diminishing Tools Textures of the Vanilla Tweaks Texturepack seperatly downloadable here:
https://vanillatweaks.net/share#vjnjcl
Source
I got heavily inspired by the Original Veinminer mod but don't know what version it was that got me into it. It may as well be possible that my inspiration started because of the timber mods in some modpacks. But I made every piece of Code myself.