ChaoticTrials / ToolSwap

Swaps the tools to the effective one if it's in hotbar
https://modrinth.com/mod/automatic-tool-swap
Apache License 2.0
2 stars 1 forks source link

Silent Gear Tools not swapping? #50

Closed WimpieRatte closed 4 months ago

WimpieRatte commented 4 months ago

Minecraft version

1.20.1

ToolSwap version

1.20.1-5.0.4

Forge version

47.2.20

The latest.log file

https://pastebin.com/mGHmBeXX

Issue description

Using latest version of Silent Gear (1.20.1-3.6.3) & Silent Lib (1.20.1-8.0.0). None of the tools for Silent Gear are being swapped to automatically.

I attached my latest log file, but I only had EMI, Silent Gear, Silent Lib and ToolSwap installed, so easy to recreate.

Steps to reproduce

  1. Install Silent Gear, Silent Lib and ToolSwap
  2. Craft Silent Gear tools
  3. Try to mine something where it should switch. (e.g: Stone or Wood)

Other information

No response

MelanX commented 4 months ago

If you’re able to add a datapack on your instance, you could create one to include the wrong tags to the correct tags. More information about this problem here: https://github.com/SilentChaos512/Silent-Gear/issues/663 This isn’t my fault but a problem that Silent Gear uses the wrong item tags.

WimpieRatte commented 4 months ago

Thank you! Also, thank you for logging a ticket for this with Silent Gear!

WimpieRatte commented 4 months ago

@MelanX: So I managed to fix this for all the below mentioned tools, except for the Machete. Could you please advise me why the Machete is not working with the tags I gave it? (Are you avoiding the tool switch when the tool also contains tags with something like sword?)

(I installed CraftTweaker, created a new scripts/custom.zs file and added the following code in the file:)

`//adding default minecraft tags to some silent gear tools/weapons:

.add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); **.add(); .add(); .add(); .add();** .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add(); .add();`
MelanX commented 4 months ago

Fixed in 5.0.5!

WimpieRatte commented 4 months ago

Dude, thank you so much for how you respond to these! Updating my pack immediately!