Automatic Tool Swap

Automatic Tool Swap

313k Downloads

ToolSwap ain't Swappin' My Fluxbore - Let's Change That

flyinggoatman opened this issue ยท 2 comments

commented

Describe your idea

Hey there, MelanX!

First off, major props for creating ToolSwap. Seriously, it's like you've added a new, extremely handy limb to my Steve.

Now, onto the meat and potatoes. I've got this shiny toy called a Fluxbore from the Thermal Innovation mod. It's a one-stop-shop for all my mining needs, combining the powers of a pickaxe, shovel, and axe. The problem? ToolSwap is giving it the cold shoulder. I'd love it if these two could be pals and work together in harmony.

So here's my two cents: how about we add a feature that lets us, the users, play matchmaker? Something in the mod config lets us add the item IDs of other mod tools or tags that the tools have. That way, when ToolSwap is deciding which tool to swap to, it can check out this list and go "Oh, I know this guy!" and make the swap.

I'm thinking the config could look something like this:

# List of tool IDs that you want to introduce to ToolSwap
additional_tools_id = [  "thermal:fluxbore"]
additional_tools_item_tags = [  "ftbultimine:excluded_tools"]
additional_tools_block_tags = [  "computercraft:turtle_hoe_harvestable"]

With this, we could make ToolSwap more sociable and welcoming to all kinds of tools.

Thanks for taking the time to read my ramblings. Keep up the awesome work!

Stay fly,

flyinggoatman

commented

I really like this idea. I have a few ideas how to do it in the config, now. It's a lot of config values in my head, but should definitely work. Unfortunally, I have no time now. I will start this when I have time! Maybe Sunday. Thank you!

commented

You're welcome! I would try to implement it myself but I really don't have the skills in Java. I'd love to learn how to mod in Minecraft some day.

edit, also could you release a patch with this change on 1.19.2 since most mod packs including mine still run that version?