User:Aeldrion/Projects/CVM/Veins module

The veins module adds an ore "vein mining" mechanism that mines entire veins of ore when a player sneaks while mining an ore.

= Using = When a player mines any vanilla ore with a pickaxe while sneaking, the entire vein will be mined automatically and the pickaxe will take one damage for every mined ore.

= Notes =
 * Using pickaxes enchanted with Silk touch or Fortune or blessed with Internal Blaze will affect the drops of ores mined indirectly by the module as if they were mined by the player.
 * If mining the ore does not result in an item drop (eg. mining a diamond ore with a stone pickaxe), the vein will not be mined.
 * This module only mines blocks that are directly adjacent to a previously mined ore: two ores in diagnonal will not be considered connected by the module.
 * Emerald ores and Nether quartz ores cannot be mined with this mechanism.

= Tips =
 * Sneaking while mining precious ores near lava pools is often a bad idea as some minerals might fall into lava.
 * Mining ores in veins can be dangerous when standing on an ore block because the player may fall down.