Ore Harvester allows players to mine entire ore veins instantly, by breaking one of the blocks in it while crouching. The time it takes to mine is increased by the amount of ore that's in the vein. All ore items will be dropped at the initial broken block's position. It is compatible with Silk Touch and any other enchantments. Diagionally connected blocks are also broken, as long as it's visible with an air block. Stone and deepslate variants of the same ore are harvested together, and a pickaxe that can't mine the ore only breaks the one block.
The mod has various config options to edit the behaviour. There is also a blacklist file available where you can specify which pickaxes are allowed to use the mod's feature. Paxels and other modded tools that aren't detected as a pickaxe can be added in the config. The same goes for blocks that should be harvested as ore veins. Every harvested ore also triggers a block break event, so mods like Project MMO see each one.
Developed to work alongside my Tree Harvester mod.
All available config options:
Show Spoiler
oreHarvestWithoutSneak default false
If enabled, ore harvesting works when not holding the sneak button. If disabled it's reversed, and only works when sneaking.
dropOresAtFirstBrokenBlock default true
Whether all ore drops in a mined vein should drop at the first broken block's position.
enableFuzzyOreSearch default true
With fuzzy search enabled, it uses a block's raw name to determine whether it's an ore block. Improves compatibility with other mods that have not set a block tag, but does create a small chance of a false positive.
oreBlockWhitelist default ""
A comma separated list of block ids that are harvested as ore veins too, also when they're not detected as an ore. Use * as a wildcard. An id without a namespace matches blocks of every mod. For example 'minecraft:glowstone,create:*crimsite'. Applies after rejoining the world.
oreBlockBlacklist default ""
A comma separated list of block ids that are never harvested as ore veins, also when they're detected as an ore. Same format as oreBlockWhitelist, for example 'minecraft:ancient_debris,*redstone_ore'. Applies after rejoining the world.
pickaxeWhitelist default "easy_emerald:*_paxel,piercingpaxels:*_paxel,randomisfits:*_hammer,randomisfits:*_multitool,tetra:modular_double"
A comma separated list of item ids that can harvest ore veins too, for modded tools that are not detected as a pickaxe, like paxels and multitools. A listed tool still needs to be able to mine the ore. Use * as a wildcard. An id without a namespace matches items of every mod. Applies after rejoining the world.
maxOresPerVein default 1000, min 1, max 10000
The maximum amount of ore blocks that are harvested at once in a single vein, including the broken block.
triggerBlockBreakEventPerHarvestedOre default true
If enabled, every harvested ore in a vein triggers a block break event, as if broken by hand. This lets other mods see each ore, like skill mods that give experience for mining or claim mods that protect an area. An ore is skipped when another mod cancels its event.
loseDurabilityPerHarvestedOre default true
If enabled, for every ore harvested, the held pickaxe loses durability.
loseDurabilityModifier default 1.0, min 0.001, max 1.0
Here you can set how much durability harvesting an ore vein should take from the pickaxe. For example if set to 0.1, this means that every 10 ore take 1 durability.
increaseExhaustionPerHarvestedOre default true
If enabled, players' exhaustion level increases 0.005 per harvested ore (Minecraft's default per broken block) * increaseExhaustionModifier.
increaseExhaustionModifier default 1.0, min 0.001, max 1.0
This determines how much exhaustion should be added to the player per harvested ore. By default 0.005 * 1.0.
increaseHarvestingTimePerOre default true
If enabled, harvesting time will increase per existing ore in a vein. The amount is determined by 'increasedHarvestingTimePerOreModifier'.
increasedHarvestingTimePerOreModifier default 0.2, min 0.01, max 10.0
How much longer it takes to harvest an ore vein with 'increaseHarvestingTimePerOre' enabled. The actual speed is: newSpeed = originalSpeed / (1 + (logCount * increasedHarvestingTimePerOreModifier)).
Pickaxe Blacklist Feature:
It's possible to only allow certain pickaxes to harvest ore veins. On first load of the mod a blacklist file is generated. It is located at ./config/oreharvester/harvestable_pickaxe_blacklist.txt. This works for modded pickaxe items as well.
Mine any ore in a vein, and all blocks in it are broken:
Show Spoiler

Compatible with Silk Touch and any other enchantments:
Show Spoiler

You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 | ||||
| 15h ago | 1 |
