
Flexible Tools (a Veinminer, a Magnet, Etc)
Fancy tools for late-game fun. Enemies Drop their loot, no drifter throwing.

Description
Flexible Tools is the new home for all my tools. Many people wanted the tools but not the changes with, say Ores A Plenty or Random Changes so here's a mod with not only those tools...
But 3 MORE brand new gadgets to enjoy!
First the 3 NEW Gadgets:
Diamond Scythe: This beast has a few Modes (default "F" Key). Able to clear 3x3, 5x5, 7x7, and a 9x9 area of grass. Get to mowing or clearing for building!
Diamond Shears: Another AOE upgraded tool. Clears leaves with ease... 3x3x3 to a 9x9x9 area of leaves. An expensive tool for sure, but worth it.
<span style="background-color: #000000; color: #ecf0f1;"> Item Magnet ! </span>
I'm quite proud of this one, it took a lot of learning to get it to work and it was WELL worth it. Craft this and put in in your neck slot.
To "Engage" the magnet, the default hotkey is "Y" and can be remapped in the game settings. The item has to be worn to be functional.
Currently working on a new version of the mod that hopes to address issues with null entities in addition to more features (like charging).
----- Okay those were the new tools... here's the other ones -----
Rock Sniffer: Break a rock block with this to learn what rock types are directly under the broken block. ONLY reports unique rock types, ignores all ores nor does it give you depth information. Use to find those rare rock types.
Diamond Tipped Steel Pickaxe: Just a simple late-game pickaxe. Fast and very durable, mainly used as an ingredient for...
World Eater: This beast can clear 3x3 and 5x5 sections of material as well as Vein Mine of ores. Clear HUGE areas of ore in no time. Fills your inventory VERY fast. Use F as always to select tool modes. With this new mod I've added sand, gravel, snowblocks, and glacier ice to the veinmine list. Will also do both clays and peat.
Update v3.4.2
Added mod config option to disable all Enemy Mob Drop changes.
Added mod config option to disable Vanilla Pick and Shovel vein mine behavior feature.
Fixed bug with WorldEater AOE mining something that should not be mined.
Update v3.4.0
Update for Game Version 1.20.6
Now a different sound plays for enabling the Magnet vs. disabling the Magnet so you don't have to check to make sure.
Yet another attempt to prevent looking at despawning entities for magneting.
HUGE New Feature!
Vein Mining can now be added to any tool via a new VeinMineBehavior.
I included a patch that adds this to vanilla pickaxes and shovels with higher tiers supporting more blocks at a time.
See veinminers.json in the patches directory for this change.
To Vein mine with these tools, Sneak+mine a block. Works for ANY block that does not have a BlockEntity. There is no whitelist or blacklist. This is very basic behavior.
Matches only the block mined, so mining a grass block will NOT mine the plain dirt under it.
I kept it simple on purpose, this feature is very powerful. Other tools, even ones added by mods, should be able to use this behavior.
WARNING:
I HIGHLY advise NOT to use it for tools that are not simple, like the Scythe or Shears. This feature is ONLY triggered OnBlockBrokenBy the tool so only add it to tools that break blocks the old fashioned way.
The Axe does NOT need this, it already can chop entire trees down by itself so I left it alone.
v3.3.2 and v3.3.3
Patch to stop drifter throwing.
Patch to increase chance of clay spawning.
Patches that Shiver and Bowtorn now drop their drops without needing to be 'harvested'. Feature is the same as the drifterdrops for this mod.
Added a small amount of iron nuggets to both Shiver and Bowtorn entity drop lists. They are practically made of iron.
Added Arrow drops to Bowtorn drop lists.
Patch files can be deleted to remove that feature for your game.
NOTES on the World Eater:
To prevent absolute FPS crashes when in 3x3 or 5x5 mode, or when veinmining it does NOT drop material on the ground if you have space in your inventory. Because the game doesn't merge item stacks on the ground, when you mine 300 sand, 300 sand is on the ground which crushes your FPS.
Two bugs appear because of this behavior. First and for reasons I simply cannot figure out, when 3x3 or 5x5 mining, grass lingers if the block under it was mined. This does not happen when vein mining, even though I process the blocks in exactly the same way.
The Second and more dangerous issue is using the World Eater around your base. This thing will obliterate crates, chests, and other storages without dropping their contents. I could find NO simple way of detecting custom blocks and preventing it from mining them. So do NOT use it near your base!! If a skilled modder knows how to do this easily I'm eager to learn. Plus it seems to mess with the item codes when it does this. Very bizarre because I call the same function the game calls if you break the block normally.
My YouTube channel: https://www.youtube.com/c/FlexibleGames
Dedicated to moddable games. Hit me, Buggi, up on Discord for questions. Source and issue links now active.
Please consider being a Patron or donating. Links on my channel banner on Youtube.
Ratings & reviews
Sign in to leave a rating or comment.

