Mods / Flexible Tools (a Veinminer, a Magnet, Etc)

Tags: #QoL #Utility
Author: Buggi
Side: Both
Created: Apr 25th 2022 at 2:47 AM
Last modified: Mar 27th at 7:33 PM
Downloads: 11316
Follow Unfollow 182

Latest release (for outdated Vintage Story v1.20.x):
FlexibleTools-3.4.1.zip  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. 

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

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v3.4.1 875 Mar 27th at 7:33 PM Show FlexibleTools-3.4.1.zip 1-click install
v3.4.0 220 Mar 25th at 10:40 PM Show FlexibleTools-3.4.0.zip 1-click install
v3.3.3 488 Mar 10th at 8:12 PM Show FlexibleTools-3.3.3.zip 1-click install
v3.3.2 196 Mar 6th at 11:21 PM Show FlexibleTools-3.3.2.zip 1-click install
v3.3.1 503 Feb 4th at 9:39 PM Show FlexibleTools-1.20-3.3.1.zip 1-click install
v3.3.0 122 Feb 3rd at 9:20 PM Show FlexibleTools-1.20-3.3.0.zip 1-click install
v3.2.1 2484 Apr 3rd 2024 at 9:51 PM Show FlexibleTools-119-3.2.1.zip 1-click install
v3.1.0 239 Mar 30th 2024 at 4:46 AM Show FlexibleTools-119-3.1.0.zip 1-click install
v3.0.1 355 Mar 16th 2024 at 4:23 AM Show FlexibleTools-119-3.0.1.zip 1-click install
v3.0.0 134 Mar 15th 2024 at 8:36 PM Show FlexibleTools-119-3.0.0.zip 1-click install
v2.2.0 589 Jan 26th 2024 at 12:04 AM Show FlexibleTools-1.19-2.2.zip 1-click install
v2.1.0 1815 Apr 10th 2023 at 8:31 PM Show FlexibleTools-1.18-2.1.zip 1-click install
v2.0.0 1275 Aug 31st 2022 at 11:45 PM Show FlexibleTools_v2.0.0.zip 1-click install
v1.3.1 597 Jun 25th 2022 at 10:10 PM Show FlexibleTools-v1.3.1.zip 1-click install
v1.3.0 329 Jun 25th 2022 at 10:01 PM Show FlexibleTools-v1.3.0.zip 1-click install
v1.2.0 475 Jun 7th 2022 at 8:45 PM Show FlexibleTools-v1.2.0.zip 1-click install
v1.0.0 620 Apr 25th 2022 at 2:51 AM Show FlexibleTools-v1.0.0.zip 1-click install

118 Comments (oldest first | newest first)

💬 Yuuki_Watage, May 11th at 7:11 PM

Is there a way to disable/change the radius of the Sneak + Mine thing for picks that aren't a part of the mod? Preferably without going into the files?

💬 DilanRona, Apr 30th at 5:22 PM

deleting a json file from the mod may be fine and dandy when playing it with single player, but any mod updates will just restore the file again. Its also not going to help when using it withing a server, and clients downloading it. A better option would have been a config option where I could set true or false.

💬 Buggi , Apr 29th at 5:55 PM

Let me try to address everyone in one shot.

  • jamescook: I know this mod works, I use it all the time and have tested it thoroughly. So if it isn't for you, it isn't this mod. This mod doesn't touch player interaction keys like H or shift-clicking, again, that is another mod. Or a bizarre mod interaction. 
  • AcidNight: Pressing F on what? Tool modes for my tools use strictly vanilla features, I do not touch that code I only use it. So if it works for other tools, that is the same system I use. The diamond pick doesn't have a tool mode as its just a normal pickaxe. Again, I test and use this mod a lot and everything works as intended. You mention "miner level 25" ? The game doesn't have levels, what does this mean?  If you have a mod that adds 'levels', then that is the mod that is likely causing the issues.
  • DilanRona: Delete the relavent mob drop patch .json files from the patches directory. All patches I do I try to name as to their purpose so people can customize their experience.
  • Aspendosia: I have no idea what that mod does to add their grass. The Diamond Scythe uses a copy of vanilla code to handle the cut/clear functionality. 

 

In general everyone, if you are having some odd behavior, strip all OTHER mods out of your list, fire up a fresh world with only this mod and try to do the thing that was misbehaving. If it STILL doesn't work, then report as a bug with this mod. You can use creative mode to make it easier to obtain the thing to test, or use /giveitem command (or /giveblock). 

 

I can only code and test this mod as it is, there is over a thousand mods on the hub now and I can't test against them all. All my mods are coded and tested against the vanilla game and with my other mods. I make every effort to use vanilla JSON features and only ADD. I refrain from removing vanilla features as that would interfere with other mods.

💬 Aspendosia, Apr 29th at 6:28 AM

Love these, they take away some of the grind that I don't always love.

 

Been playing with the new Wildgrass mod to add more variety to the world and I've noticed the scythe from this mod doesn't 'recognise' those grasses, but vanilla scythes do. Would this be something your mod needs to recognise or something the Wildgrass moss is not 'tagging'?

💬 DilanRona, Apr 25th at 1:07 AM

Any way to disable the instant mob drops? I just spent the better part of 5 hours going through 130 mods trying to find out which mod(s) had the auto mob drop enabled (going so far as to purge better loot, monster drops, and instant temporal mob drops from my game)

💬 AcidNight, Apr 20th at 5:18 PM

I just mined by increasing each level little by little and apparently it's when Veinminer is up that the pickaxe no longer mines anything (and F doesn't work at any level)

💬 AcidNight, Apr 20th at 5:15 PM

Hello, I saw that the mod I was using was a plagiarism of yours, I just downloaded it to test it but apparently there is a problem, when I press F nothing happens, I have the titanium mod which does it well (without the Combat Overhaul mod because the rest does not work on titanium), so here with F your pickaxe does nothing and when I mine nothing falls to the ground, I tested by putting my miner lv 25 to see because the other mods of the diamond pickaxe when I mine an ore on my server I am kicked without error message and in solo no kick but nothing falls to the ground, but when I reset everything it works

💬 Lephasme1000III, Apr 20th at 5:19 AM

"I am... 

a seraph !"

-Seraph version of Jack black

💬 jamescook, Apr 18th at 8:20 PM

vien mining for any tool is not working for me :/ about to test if world breaker works via vienminer EDIT-the world breaker worked but shift clicking stuff from hotbar to bag/chest and the H hot key for the hand book not working when your invtory was open killed the mod for me. i took you mod out and those two issues stopped, though i got no clue why that happened. shame as i really need a mod that is just the vienminer part of this and the magnet.

💬 Buggi , Apr 18th at 6:52 PM

@KiranaStarr talk to Dana about that. I have no clue what their mod does.

 

Check the patches directory for the enemy loot drop patch files. Edit or delete them to customize your experience.

💬 KiranaStarr, Apr 12th at 9:17 PM

Scythe doesn't work with Scythe More from dana's tweaks. I'd like to request that gets support :)

💬 KiranaStarr, Apr 11th at 4:32 PM

hey Drehverschluss how did you disable the loot table? I'd really like to disable it

💬 Buggi , Apr 7th at 6:17 PM

Ooof, yeah JimmyMac sorry, charcoal stacks are very special things with special code.

💬 Drehverschluss, Apr 4th at 9:09 AM

Hello there.

 

The drops you add to the mobs are they affecting other drop mods like https://mods.vintagestory.at/show/mod/14762 ? If so a option to turn off the droptable you add would be awesome.

 

Nevermind. Found your loot table and how to disable/modify it.

Cheerz

💬 JimmyMac, Mar 29th at 2:57 AM

FYI - Don't veinmine your charcoal pit after its done cooking. 15 stacks of firewood will become 15 charcoal. I'm so so sad ☹

💬 Garthall, Mar 26th at 2:59 AM

It just keeps getting better man, JUST got my first world eater and now you're telling me I can use this mod to vein mine with ANY pickaxe? Jesus I love the modding community

💬 Buggi , Mar 25th at 10:40 PM

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.

💬 Buggi , Mar 24th at 7:48 PM

Jesus.
You can customize a mod by editing or removing files, changing config values, etc. A tiny amount of effort to get what you want. I can't provide a solution for the infinite needs of persons unknown for all 14 of my mods for this game.

At some point you will have to customize a mod or mods to meet whatever individual need you have for your individual play style. Asking me to do that work for you for free when I've already spend 50 hours making this mod is just frustrating to the mod author as "It's never enough."

 

Sorry for the rant, but this happens with near every single mod and I'm sure it frustrates the other authors. I even updated this mod with a config system to allow people to more easily disable any tool they want. And for the normal patch changes, just remove the patch file and voila, change is gone.

💬 Nartaga, Mar 22nd at 1:13 PM

is there a version that works on current version of the game that is ONLY the magnet? Don't want any of the other changes or anything.

💬 E_V, Mar 22nd at 4:25 AM

@Buggi For things like an iron pickaxe I'd say it would have a max vain mine limit proportional to its durability so an iron pickaxe with 1200 der would only be able to mine 36 in one go. That is, I would say at least, mainly so that it's not too overpowered and still makes the world eater look good since it has a much higher limit.

 

Also i totally get what you mean, what i'm asking for is not something i'm expecting to get any time soon honestly and with your Engineering mod, which might I add is incredible, go don't have any time for a ‘side project’ like a more diverse vein miner. It's only an idea I wanted to share with you because this mod is amazing and I only wanted something like it for early game.

💬 Buggi , Mar 21st at 8:52 PM

What do you mean? How do I reproduce exactly? What other mods do you have installed? I have no information to go on or test.
Been playing with this on my server for weeks and have had zero issues.

💬 Lotan, Mar 21st at 8:45 PM

Buggi, maybe so but having this mod enabled outright stops shift clicking inventory items to stop working

💬 Buggi , Mar 21st at 7:48 PM

Lotan by default, the keybind to enable the magnet is Y, can be remapped in settings once in a world. Magnet must be worn for it to work as well. Will change the description to reflect this.

 

Shift clicking inventories has nothing to do with this mod, it is not changed, altered, or modded in any way.

💬 Lotan, Mar 21st at 5:28 PM

also a weird bug, this mod breaks shift clicking inventory items.

💬 Lotan, Mar 21st at 5:08 PM

cant seem to get the magnet to work, the item description and name says disabled

💬 Buggi , Mar 18th at 7:33 PM

@E_V What limit should, say, an iron pick with veinmine be able to mine in one go? And what durability should it have? Because an iron pick with 1200 durability is less than 3 max vein mines with what the world-eater can do. The veins of ore in this game are not like Minecraft's. Quartz veins, for example, can have in excess of 2000 blocks in a single vein. With lesser tools this would obliterate all of them in a single vein, even steel.

I can look into adding an iron variant with less blocks mined and less durability by far, but that's a lot of work and I'm one person who's also trying to work on Vintage Engineering. So I have to decide what's more important to work on.

 

Garthall Finding the diamonds is 1000% harder in this game than MC, especially if you don't use any of my other mods. In vanilla, diamonds only have a chance to spawn in Kimberlite rock which is only found at mantle level, and only in tiny amounts, very rarely. My mod Ores A Plenty adds diamond ore chance to Basalt, and only fairly deep (50% the way down to mantle and below.) Good luck!

💬 Garthall, Mar 18th at 12:44 AM

My girlfriend asked me "does that game have diamond tools like minecraft does?"

Well, now I can show her...it sure as hell does 👍

💬 E_V, Mar 17th at 8:16 PM

Buggi Could you add a ring or something similar that gives all of the other pickaxe's a vainminer choise? rather then waiting till endgame to get a vainminer.

💬 Buggi , Mar 16th at 6:17 AM

Going to do another update pass on this mod, any more requests?

💬 E_V, Mar 15th at 2:19 AM

By any chance, is there a mod that adds the vainminer function to all of the pickaxes? Because i want to be able to use a function like it on a teir 1~5 rather then just teir 5.

💬 Novadegree, Mar 13th at 9:51 PM

@Buggi Any chance for "World Eater" to collect high fertility soil? love ur mods, I have such a fun time!

💬 Buggi , Mar 10th at 8:13 PM

v3.3.3

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 entity drop lists. They are practically made of iron.

Added Arrow drops to Bowtorn drop lists.

New patch files are shiverdrops.json and bowtorndrops.json and can be deleted if you wish to remove that feature for your game.

💬 Buggi , Mar 7th at 8:29 PM

Correct, you can skip the version if you don't want the new features.

💬 Mendall, Mar 7th at 7:53 PM

This newest update does it add anything besides drifter throwing and more pottery. If not, I think ill skip this one. Rather than try to mess with files. I spose that will catch up with me next time though.

💬 Buggi , Mar 7th at 6:45 PM

I don't understand what you mean by plane. The worldeater mines the plane according to the face you mine on. Or do you want to lock the plane in no matter what face you mine on?

💬 LiothTheBrave, Mar 7th at 12:28 AM

Would it be possible to do what CAN Jewlery does and have distinct 'planes' for the 3x3 and 5x5 to mine? Like you select the size and then select the plane.

💬 Buggi , Mar 6th at 11:23 PM

v3.3.2 patch notes:
Patch added that removes Drifter Throwing (drifterthrowing.json)

Patch added that increases generation of all clay variants (by about 3x) for those pottery lovers out there (moreclay.json)

As always, you can delete the files mentioned in () to remove the feature. Please note, I didn't change WHERE the clay generates, or under what conditions, just that the game tries a little harder to do so. For example, Fire clay ONLY spawns in Bauxite. This doesn't change.

💬 Buggi , Feb 18th at 9:39 PM

Um, that pick is the same as a vanilla pick just tougher. Can you check log files for errors/warnings?

💬 przemocny13, Feb 16th at 6:36 PM

When I used "Dimond tiped steel pickaxe" on chromium ore, no chunks droped, same hapend when mining quarz or olivine, ore blocks are just being destroyed, havent check other ores. Anyone have similar issue?

💬 SoloBlood, Feb 11th at 9:40 PM

Buggi Ok, I was mining blocks 1 or 2 high from me.  The rock was falling on my character.  The error kept happening then.  Looks like the character picking up thew item and the magnet conflict.

💬 Buggi , Feb 9th at 8:37 PM

JackMidnight The vein mining algorithm is different than the tree chopping algorithm used by axes (which basically uses an inverted cone). The World Eater was more or less intended to be used on dirt/stone/ore as tree chopping was already handled by the base game.

I could try to look into including the leaves in the vein detector if people just don't want to use an axe.

💬 Buggi , Feb 9th at 8:33 PM

Yes, that error is the catch I added. It takes place in a function I can't add a lot of weight to as it needs to be fast and efficient.
I don't know exactly what causes it, but it seems to happen if the entity matching function is running at the same time as the item is picked up by something else.

If someone has an idea on how to prevent this, without locking the entities at least, I'd be happy to merge a pull request.

💬 SoloBlood, Feb 9th at 5:06 AM

Buggi  I just got this error on my server.  The item magnet worked tho when I pressed Y.

8.2.2025 23:21:48 [Error] TorcMagnet Error: System.NullReferenceException: 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 155
at Vintagestory.Common.GameMain.GetEntitiesAround(Vec3d position, Single horRange, Single vertRange, ActionConsumable`1 matches) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Common\GameMain.cs:line 231
at FlexibleTools.TorcMagnetBehavior.OnGameTick(Single deltaTime) in C:\_Programming\Vintage\FlexibleTools\code\FlexibleTools\TorcMagnet.cs:line 136

💬 JackMidnight, Feb 9th at 12:02 AM

can we get soomething to chop trees down with i mean the veinminer option for the world eater works fine but it leaves the leafes behind and they dont decay they just stay it also kicks you out of a server when doing it due to an exception :c

💬 Buggi , Feb 8th at 7:20 AM

The magnet does work LiothTheBrave, you just have to turn it on (and be wearing it), I believe "Y" is the default keybind. Check your keybinds once you load a world with the mod.

💬 SoloBlood, Feb 7th at 2:49 PM

Buggi Thank you! I removed "drifterdrops.json" from the zip file and cache.  Now "Useful Drifter Loot" is working again and no more errors.

There is this mod called "Mining Tools" which is out of date.  The best feature from this mod was along the idea of 1x2, 2x2, 3x3.  If I remeber correctly a Tier 1 or copper "Excavator" (fancy shovel) would do 1x1 and 1x2.  Tier 2 would do 1x1, 1x2, and 2x2.   I am wondering if you aware of this mod?  Would you interesting in doing something similar by adding more tools?  If you aren't interested ignore this. 

We look forward to the next patch.

💬 Mawg, Feb 7th at 9:46 AM

Mendall
thanks mate!

💬 LiothTheBrave, Feb 7th at 9:15 AM

Having the same issue as Mawg. The item magnet just isn't working. Says its 'disabled' even when in the neck slot.

💬 The_Box, Feb 7th at 7:06 AM

Buggi For XSkills, just to give more context to figure out if it's compatible, the 'mining' skills do some things like making crystalized ores drop more often, occasionally having ore blocks drop double ores, making standard stone blocks occasionally drop full blocks instead of bits, stuff like that.

Essentially, it depends on how the area/vein mining works.  If your method is actually breaking the block using the normal processes and just dropping the resulting material straight into your backpack instead of on the ground, then it's probably fully compatible.  If it instead is going, "Okay, there's 20 stone here, delete the stone and add 30 bits to the users backpack", then it probably isn't.

💬 Buggi , Feb 7th at 6:29 AM

The magnet default key is Y I believe, sorry I thought that was documented.

SoloBlood In my rush to get this update out, I completely failed to check the drifter drop patch and completely forgot that was apart of this mod.
I will probably remove the file "drifterdrops.json" from the mod completely for the next release as there are plenty of other mods that edit this stuff and it would be a nightmare trying to make it work. You can remove it now and that should fix the issues. The only other non-tool thing this mod seems to do is edit the stacksize of temporal gears.

Regarding XSkills, I have no idea, I've never played with or looked at that mod. It all depends on how the author of that mod coded it as this mod doesn't introduce any new types of tools, just really good versions of existing types.

💬 SoloBlood, Feb 7th at 2:52 AM

Buggi Two compadability questions,

Does this work with XSkills?
This also breaks "Useful Drifter Loot"?

I have a bunch of these in my logs.  Let me know and I can give you my full log.  I usualy post in discord.

6.2.2025 12:21:45 [Error] Patch 0 (target: game:entities/land/drifter.json) in game:patches/survival-entities-land-drifter.json failed because supplied path /server/behaviors/9/dropsByType/*-normal is invalid: The json path /server/behaviors/9/dropsByType/*-normal was not found. Could traverse until /server/behaviors/9/dropsByType, but then '*-normal' does not exist. Full json at this path: {}
💬 Mendall, Feb 6th at 10:52 PM

Ok, I just cheated in a magnet to test and yes it shows up as disabled if the hot key is toggled wrong. But works fine. Look in controls for a listing that says "toggle magnet on/off when worn" and set a hot key for it.

💬 Mendall, Feb 6th at 10:29 PM

Does the magnet not have a hot key to turn it on/off perhaps that's why it is showing up as disabled. Try hitting the hot key. Mine is set to the w key, but I have probably moved it from default. I can't test yet, I haven't found enough gold this play through to make mine. 

💬 LiothTheBrave, Feb 6th at 10:07 PM

HAving the same issue as Mawg. The item magnet just isn't working. Says its 'disabled' even when in the neck slot.

💬 Mawg, Feb 6th at 5:34 PM

The magnet is not working, not sucking things up  (i have it in the neck slot) maybe there is a compatability issue with "combat overhaul: armory"-mod, my best guess

💬 zackadiax24, Feb 4th at 10:26 PM

It works now :D

💬 Buggi , Feb 4th at 9:39 PM

Thanks for the report zackadiax24, uploaded version 3.3.1 for a fix. Let me know if there are any issues!

💬 Buggi , Feb 4th at 9:09 PM

wth?
that makes no sense. Okay, I'll investigate.

💬 zackadiax24, Feb 4th at 6:46 PM

My game refuses to load into my worlds, usually giving an error about having no write access, When I removed this mod it fixed itself. I found this in the client-main.log

 

4.2.2025 13:26:48 [Error] Exception: The given key 'flexibletoolsconfig.json' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at FlexibleTools.FlexibleToolsMod.get_ToolsConfig() in C:\_Programming\Vintage\FlexibleTools\code\FlexibleTools\FlexibleToolsMod.cs:line 23
   at FlexibleTools.RockSnifferItem.OnLoaded(ICoreAPI api) in C:\_Programming\Vintage\FlexibleTools\code\FlexibleTools\RockSnifferItem.cs:line 124
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at Vintagestory.Server.ServerSystemBlockSimulation.OnBeginModsAndConfigReady() in VintagestoryLib\Server\Systems\World\BlockSimulation.cs:line 303
   at Vintagestory.Server.ServerMain.EnterRunPhase(EnumServerRunPhase runPhase) in VintagestoryLib\Server\ServerMain.cs:line 622
   at Vintagestory.Server.ServerMain.Launch() in VintagestoryLib\Server\ServerMain.cs:line 536
   at Vintagestory.Client.ClientProgram.ServerThreadStart() in VintagestoryLib\Client\ClientProgram.cs:line 403
💬 Buggi , Feb 3rd at 9:21 PM

Updated. I added a catch to hopefully prevent crashes with the Magnet... not sure what else I can do there.

💬 Senomy, Feb 3rd at 3:42 PM

@JackMidnight

I am aware yes, I just thought that it might be of help to the author when it comes to finding what needs to be fixed

💬 JackMidnight, Feb 2nd at 3:54 PM

Senomy
the mod still has to update to 1.20 give  the dev some time we all can  just wait for it to finally update its  a pain to mine everything with the ores o plenty mod without the veinminer pickaxe but we can just wait

💬 Reqwiem, Feb 2nd at 2:41 PM

I'm really looking forward to the update for 1.20

Veinminer....

💬 Senomy, Feb 2nd at 1:25 PM

Good day, I've been facing crashes everytime I press h to open the guidebook while hovering on the copper ingot, and possibly also the gold ingot.

https://pastebin.com/QHheQAcy

💬 Buggi , Jan 20th at 9:48 PM

It will get updated, of course, I just have 13 mods I have to check over. The first one is done! Ores A Plenty is updated.

💬 JackMidnight, Jan 7th at 8:23 AM

can this please get updated to 1.20 i really loved the magnet and veinminer pickaxe :c

💬 Buggi , Dec 13th 2024 at 7:33 PM

is this on 1.19?
When I do the update to 1.20 I'll triple check this again to try to avoid the exception. And yes, it's likely trying to move an entity that is already gone. I thought I had fixed this.

 

And waiting on a stable version to update, and it's the holidays so the timing is not great with family events and everything.

💬 massey, Dec 1st 2024 at 9:49 PM

Buggi May be related to Coer 's post.

1.12.2024 21:41:38 [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 271
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

This is from the server-event log.

I get regular crashes near my Pulveriser while its running. Same setup as Coer  might the magnet be trying to grab an item the hopper just removed? laymans guess.

💬 Buggi , Oct 29th 2024 at 10:02 PM

Vintage Engineering takes almost all my development time, but I do ensure when a new version goes stable I update all the mods that need it. I can't do it for every release though. 

The next update will take some time to add config options it won't be a quick recompile of the code.

 

@rabah The magnet can be toggled on/off with Y key (can be rebound).

I might even make the magnet require recharging, what are your thoughts on that everyone?

💬 Infectous, Oct 28th 2024 at 10:54 PM

Buggi Is there any way to convince you to make a hotpatch for the latest prerelease version so I can use the item magnet? It sounds so useful :')

💬 rabah, Oct 26th 2024 at 12:12 AM

Buggi

the item does not work for some reason. next to the name its written like this 'item magnet disabled'

💬 CKitt, Oct 21st 2024 at 9:37 PM

"...when 1.20 comes out, I'll make sure to add some config options..."

Excellent news! The only tool from this mod which fits the modpack on my server is the item magnet, which is an amazing bit of kit btw. Great work!

💬 Buggi , Sep 26th 2024 at 4:41 PM

Delete the drifterdrops.json in the patches directory.

💬 TaffyStars, Sep 22nd 2024 at 7:55 PM

Im not entirly sure why its happining but when i add this mod it makes it so drifters explode instantly after they are killed and drop a piece of medium hide.

💬 Buggi , Sep 12th 2024 at 6:36 PM

9x9x9? Your server can't handle the diamond shears?
simply disable the recipe by adding

"enable": false,

into the recipe
Best way is to create a little patch mod that tweaks all the mods you have on the server to meet your needs.
It is simply impossible to split all the features of every one of my mods as seperate mods and managing that, when customizing them is so easy to meet your individual needs. 

A config is not needed as you can customize any mod to meet your needs very easily. Editing or deleting the JSON of the item or block or recipe. 

But fine, when 1.20 comes out, I'll make sure to add some config options to outright disable the entire point of this mod.

💬 TaffyStars, Sep 9th 2024 at 12:34 AM

I agree with DejFidOFF would love to add this but not a fan of most of the tools this adds. Hopefully a config will get added.

💬 DejFidOFF, Aug 31st 2024 at 3:56 PM

Buggi

Ok thank you, but I can´ t find where or how I can disable some tool from this mod. I want this mod at my server but need to disable some or configure the area. The 9x9x9 is to much for server.

💬 Buggi , Aug 14th 2024 at 2:32 PM

@Coer that is a known crash bug with the base-game. Not sure why you thought that was my mod as the mod doesn't appear at all in the StackTrace.

and @dejfidoff It has to be on clients too so they have all the icons and art. Serverside only mods work for things that don't contain custom art, iirc.

💬 DejFidOFF, Aug 5th 2024 at 10:16 AM

Buggi

Hello o/

Can be this server side mod? Will it works?

Can be tools disabled in modconfig (exept item magnet ) ?

Thank you for answer

💬 Coer, Jun 25th 2024 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 2024 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.

💬 Buggi , Jun 24th 2024 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 2024 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

💬 Buggi , May 27th 2024 at 10:41 PM

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

💬 Kief, May 24th 2024 at 5:43 PM

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

💬 Buggi , Mar 30th 2024 at 4:46 AM

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

💬 Buggi , Mar 18th 2024 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 2024 at 6:59 AM

The rock sniffer doesn't work on cracked rock.

💬 Pervy_Sage, Mar 15th 2024 at 9:37 PM

Nice update! Thank you.

💬 Buggi , Mar 15th 2024 at 8:36 PM

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

💬 Pervy_Sage, Mar 14th 2024 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.

💬 Buggi , Feb 26th 2024 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 2024 at 4:16 AM

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

💬 Buggi , Jan 26th 2024 at 12:04 AM

mod updated

💬 Pervy_Sage, Jan 21st 2024 at 6:04 AM

Does this work in 1.19?

💬 CrusadingPriest, Jan 18th 2024 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 2024 at 11:57 AM

Reaper1981

Yes! Check moddb list of mods

💬 Buggi , 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.

FlexibleTools-1.18-2.1_ja.zip

💬 Buggi , 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.

💬 Buggi , 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.

💬 Buggi , 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 ♥

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

Done.

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

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

💬 Buggi , 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

💬 Buggi , 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.

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

v1.3.0

  • 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.

💬 Buggi , 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.

💬 Buggi , 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)