Mods / Flexible Tools (a Veinminer, a Magnet, and Other Tools)

Category: #QoL #Utility
Author: Buggi
Side: Both
Created: Apr 25th 2022 at 2:47 AM
Last modified: Apr 3rd at 9:51 PM
Downloads: 6457
Follow Unfollow 95

Latest file for Various v1.19.x: 1-click install

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.

 Item Magnet
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, once there it'll always be looking around you for things to vacuum up. Radius is 4 blocks around you. To disable the effect, just take off the item and put it in your general inventory!

----- 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 a AOE 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. 


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:

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. This mod took me 9 hours to get done. Links on my channel banner on Youtube.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v3.2.1 925 Apr 3rd at 9:51 PM Show Install now
v3.1.0 150 Mar 30th at 4:46 AM Show Install now
v3.0.1 272 Mar 16th at 4:23 AM Show Install now
v3.0.0 63 Mar 15th at 8:36 PM Show Install now
v2.2.0 486 Jan 26th at 12:04 AM Show Install now
v2.1.0 1721 Apr 10th 2023 at 8:31 PM Show Install now
v2.0.0 1180 Aug 31st 2022 at 11:45 PM Show Install now
v1.3.1 501 Jun 25th 2022 at 10:10 PM Show Install now
v1.3.0 238 Jun 25th 2022 at 10:01 PM Show Install now
v1.2.0 394 Jun 7th 2022 at 8:45 PM Show Install now
v1.0.0 527 Apr 25th 2022 at 2:51 AM Show Install now

39 Comments (oldest first | newest first)

💬 Coer, Jun 25th at 2:19 PM

I should specify my pulv set up. It's a simple hopper in, hopper out system where the pebbles drop into a hopper that goes to a chest. I'm going through other items right now to see if it's only the pebbles that kill the game.

💬 Coer, Jun 25th at 1:52 PM

I went ahead and re-downloaded the mod as a just in case. The error script below was something I pulled from the server and the actual debug I get on the client-side is as follows:

Running on 64 bit Windows 10.0.19045.0 with 16295 MB RAM
Game Version: v1.19.8 (Stable)
6/25/2024 9:36:46 AM: Critical error occurred
Loaded Mods: autopanning@1.0.1, axleinblocks@1.0.19, backpackpackplus@1.0.3, bettercrates@1.7.1, cavecontent@1.0.1, craftablejparts@1.0.0, decor@1.1.0, DeepStorage@0.0.4, FlexibleTools@3.2.1, foundrymod@1.0.0, geoaddons@1.3.4, instanddrifterdrops@1.1.0, lanternpost@1.0.8, millwright@1.1.5, moreclasses@1.2.5, moredrifterloot@1.5.4, OresAPlenty@3.2.0, primitivesurvival@3.5.5, qptech@1.15.1, dzsalvageplus@1.0.1, translocatorengineeringredux@1.5.1, game@1.19.8, beehivekiln@1.6.1, delaylamavoice@1.0.0, knapster@2.9.4, morepiles@1.5.0, oneroof@0.11.2, passthruchutes@1.0.1, postsandbeams@1.3.2, claywheel@1.1.1, smeltableingots@1.0.0, storagecontroller@1.0.11, techmolds@1.0.0, tieredsuperiority@1.1.2, usefulstuff17@1.3.2, vinconomy@0.2.7, creative@1.19.8, survival@1.19.8, wildfarmingrevival@1.1.9, xlib@0.8.5-pre.1, em@2.6.0, plankable-nmnd@0.1.2, xskills@0.8.7, bricklayers@2.5.3, notenoughsand@2.0.0
System.NullReferenceException: Object reference not set to an instance of an object.
at Vintagestory.Client.NoObf.SystemRenderEntities.OnBeforeRender(Single dt) in VintagestoryLib\Client\Systems\Render\RenderEntities.cs:line 49
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 186
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\ClientMain.cs:line 809
at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 815
at Vintagestory.Client.NoObf.ClientMain.MainGameLoop(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 731
at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 200
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 676
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 651
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 88
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 324
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 128
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93


I went ahead and isolated myself in various places in my base, and it seems like the number 1 crash area is my windmill. At the time, I was pulverizing granite stones into pebbles (Not enough sand mod) in order to produce gravel for the sluice. I removed the stone from the pulverizer and stood there for 20 minutes with no issues, but as soon as I slap the granite stones into the copper hopper it'll crash after about a minute.

💬 BuggiAuthor, Jun 24th at 6:17 PM

Line 290 in TorcMagnet.cs is "return false"... Are you using the most up-to-date version of the mod? I did fix a bug regarding this on the latest version. I looks like you might be on an older version where line 290 is something else.

If you can find more information, a way to reliably reproduce this, or any other helpful info let me know.

💬 Coer, Jun 24th at 2:40 PM

Just want to give you a heads up that there might be an issue with your item magnet with other mod compatibility. I'm attempting to isolate the issue, but it seems like the following code gets spammed roughly 100 times in the span of a second and causes the game to crash. 

24.6.2024 09:25:40 [Error] Exception: Object reference not set to an instance of an object.
at FlexibleTools.TorcMagnetBehavior.entityMatcher(Entity foundEntity) in C:\_Programming\Vintage\FlexibleTools\code\FlexibleTools\TorcMagnet.cs:line 290
at Vintagestory.Common.GameMain.GetEntitiesAround(Vec3d position, Single horRange, Single vertRange, ActionConsumable`1 matches) in VintagestoryLib\Common\GameMain.cs:line 244
at FlexibleTools.TorcMagnetBehavior.OnGameTick(Single deltaTime) in C:\_Programming\Vintage\FlexibleTools\code\FlexibleTools\TorcMagnet.cs:line 203
at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt) in VintagestoryApi\Common\Entity\Entity.cs:line 874
at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt) in VintagestoryApi\Common\Entity\EntityAgent.cs:line 540
at Vintagestory.API.Common.EntityPlayer.OnGameTick(Single dt) in VintagestoryApi\Common\Entity\EntityPlayer.cs:line 684
at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt) in VintagestoryLib\Server\Systems\World\EntitySimulation.cs:line 330
at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt) in VintagestoryLib\Server\Systems\World\EntitySimulation.cs:line 169
at Vintagestory.Server.ServerMain.Process() in VintagestoryLib\Server\ServerMain.cs:line 886

💬 BuggiAuthor, May 27th at 10:41 PM

To busy making the mods to make a spotlight for the mods. :D

💬 Kief, May 24th at 5:43 PM

I find it surprising you have a youtube channel but never made a spotlight or anything for this mod. 😕

💬 BuggiAuthor, Mar 30th at 4:46 AM

Now includes a hotkey to enable/disable magnet without needing to take it off.

💬 BuggiAuthor, Mar 18th at 11:14 PM

DOH, yeah, cracked rock has a different code than rock and the sniffer looks for rock-*

a minor thing, I'm sure it'll be fine, plenty of other rock to use it on :)

💬 Pervy_Sage, Mar 16th at 6:59 AM

The rock sniffer doesn't work on cracked rock.

💬 Pervy_Sage, Mar 15th at 9:37 PM

Nice update! Thank you.

💬 BuggiAuthor, Mar 15th at 8:36 PM

HUGE update, check the changelog in "Files" for all the details.

💬 Pervy_Sage, Mar 14th at 8:06 PM

Buggi you told Tiggy, "Yes, remove the drifterdrops.json from the assets/game/patches directory." I also had an issue with how high the drop rates were so I turned them way down, to something like a quarter or an eighth of what they were. Is it possible you can turn that drifterdrops.json into a config with an "Enabled": true, so it's easier for players adjust and/or turn it off completely? Thanks for the great mod.

💬 BuggiAuthor, Feb 26th at 7:33 PM

The tools are meant to be expensive. They last a long time, but the cost is meant to counter-balance a bit of the power they have.

💬 Pervy_Sage, Feb 24th at 4:16 AM

It would be awesome if your tools worked with the Tiered Superiority mod and/or the Still Necessaries mod.

💬 BuggiAuthor, Jan 26th at 12:04 AM

mod updated

💬 Pervy_Sage, Jan 21st at 6:04 AM

Does this work in 1.19?

💬 CrusadingPriest, Jan 18th at 10:44 PM

Just got the game when it went 1.19 stable and I found this Mod. I can't wait for it to be updated. Mining at 3x3 and 5x5 will make QoL so nice. 


💬 Maltiez, Jan 1st at 11:57 AM


Yes! Check moddb list of mods

💬 BuggiAuthor, Dec 31st 2023 at 9:32 PM

Thanks! Will be included for the 1.19 release when 1.19 goes stable.

💬 RikeiR, Dec 30th 2023 at 10:16 PM

Japanese translation here.

💬 BuggiAuthor, Dec 28th 2023 at 7:07 PM

Why Reaper? Just don't make the other things. 

💬 Reaper1981, Dec 24th 2023 at 12:18 AM

Any chance we get only the magnet in a seperate mod?

💬 EiraValkyrie, Oct 21st 2023 at 8:49 PM

Hope the trimming grass function isn't too hard to implement! No worries if not, but it would help feeding an army of pigs.

As for the area cut, I meant more like, being able to aim at the central block in a 7x7 inside diameter greenhouse and have it cut all the crops, even if the central block is a water source or waterlogged block. Though I guess if it only cuts same type of thing that it's aimed at, I could just set it to 9x9 size and aim it at a block to the side of the center that has a crop on it and have it still harvest all, so that's not the most critical support feature I'd need. If at all. Would just annoy the "everything symmetrical centered!" part of my brain then and I can mute that.

💬 BuggiAuthor, Oct 17th 2023 at 9:42 PM


Sharpness of the axe? You mean the damage it does to entities? The diamond pick isn't meant as a weapon. You can edit the JSON all you want for your own personal use.
If it's a good weapon you want, try my Ores A Plenty mod for the ultimate falx weapon. :D


I can look into making it trim grass as an option sure, not sure how I'd do it yet. The scythe already searches the area around it for things to cut. It does limit itself to the thing you triggered the cut on, to prevent unwanted behavior.

💬 RikeiR, Sep 15th 2023 at 10:04 AM

The magnets are great.
I use it all the time.

I would like the sharpness of the axe to be improved.

💬 EiraValkyrie, May 21st 2023 at 1:45 PM

I love this mod and the things it adds! The magnet is beutiful in its function.

I have two feature requests with the scythe though.

One: Option to make it trim grass instead of entirely removing it, so I can harvest my giant field to feed my pigs and have it regrow.

Two: If targeting a full block and using it, say like a grass block, make it search the 3x3/5x5/7x7/9x9 (depending on what size mode you're on) area around the top of the block for grass/crops to cut. Would be double plus extra useful when you have a greenhouse full of ready crops and you target the block in the middle. In my case it's a furrowed farmland, but it's essentially just a waterlogged block. Gotta moisturize my crops.

💬 BuggiAuthor, Mar 30th 2023 at 6:27 PM

Asil "I'd like to carve some decorative entrances on my mountain bases." - Use a chisel? 

Tiggy Yes, remove the drifterdrops.json from the assets/game/patches directory.

💬 Asil, Dec 11th 2022 at 12:55 PM

If a cast iron skillet in the hands of a baby boomer can send a real wolf or aligator running for cover, why not create a game axe that can fell trees and felons, or a shovel that can ring the bell of a drifter? It would also be great if a bush could be dug up and replanted closer to home. Oh, and is there any way to enchant or enhance the pick to create more stone rock? I'd like to carve some decorative entrances on my mountain bases. 

💬 RamboCambo05, Nov 20th 2022 at 2:46 PM

@Tiggy There is most likely a file in the mod zip that you can remove to stop this feature, if it's anything like Ores O'Plenty. That has all of its features separated as well.

💬 Tiggy, Nov 18th 2022 at 4:35 AM

Would love to see an alternate version that didn't touch drifters. Too many other QoL mods touch on it that the benefit of not having to carve them goes away. That and getting that much leather is kind of overpowered. Love everything else I've gotten to try in the mod. The ony downside is that drifter poof. Hoping you can make another version without it if it isn't asking too much ♥

💬 BuggiAuthor, Aug 31st 2022 at 11:45 PM


💬 DanaCraluminum, Aug 31st 2022 at 8:17 PM

It would be great if all tools in the mod would be ground storable

💬 BuggiAuthor, Aug 30th 2022 at 10:46 PM

@_@ That is very odd @infinitetech. Yes let me know what the log says about the crash. Also what version of the game are you playing with?

💬 infinitetech, Aug 20th 2022 at 5:57 PM

quick question, have you ever had a problem with the magnet item causing a crash due to its texture? im on a server, and although i have tried all sorts of re-install and compatibility tests with it, i seem to be stuck crashing any time a magnet is in view (book, inventory, world, you name it), insta booting me to desktop, i can post the crash msg if so desired, its very repeatable

💬 BuggiAuthor, Jun 25th 2022 at 10:10 PM

v1.3.1 - Fixes Vein mine durability crash. 

Was tough to find these as the tool has so much durability.

💬 BuggiAuthor, Jun 25th 2022 at 10:01 PM


  • Fixes crash bug with World Eater: Crashed when it ran out of durability, now fixed.
  • World Eater now respects land claims.
  • Rock Sniffer will report Oil if it finds it. (See my Crude Oil mod). 
  • Rock Sniffer now respects land claims.

Next version will likely be for 1.17+ only. Waiting for that to go RC at least.

💬 BuggiAuthor, Jun 7th 2022 at 8:45 PM

v1.2.0 - Drifers now drop their loot instead of you having to harvest them. Tweaked loot tables a bit. The toughest two-headed drifer now has a chance to drop diamonds, which are used in all my advanced tools.

Might conflict with other drifter-based mods. Depending on what is loaded first.

💬 BuggiAuthor, May 6th 2022 at 3:12 AM

It should not crash if your inventory is full, it should drop the items on the ground. I need server or client log printouts to track the issue.

💬 Ikirou, Apr 30th 2022 at 11:06 PM

Ah okay i was about to tell about the Crash when using AOE Vein Mine but that is prob. the relative full Inventory

Hope u find someone who can help with the Bugs i love this Mod!
Great Work!

(edit comment delete)