(1.19.2) Incompatibility with Spectrum and Paxels
Ant-Redstone opened this issue ยท 5 comments
Hey, I'v been playing AOF6
and attempted to use 2 unbreakable tools from the modpack with the wand to not need to worry about recharging it, only repairing
Paxels from Piercing Paxels Have an unbreakable upgrade, Although it never consumes or displays durability bar on use, if I use it with a Building wand, it will consume, until it reach 1, and be no longer considered a tool.
Regarding Spectrum, it has Bedrock Tools which are unbreakable, but they are never considered as tools, I'm not sure why this happens, if it's just Building Wands not checking the right tags, or if the tool has 1 as max durability (which makes no difference since it's unbreakable) and gets ignored
The problem is that unbreakable enchantments/upgrade, isn't in vanilla, so I would need to add a special check for a specific mod, perhaps I can add a way to specify in the config that certain tool with a specific tag is unbreakable. About the orher tool not being considered maybe they're not being derived from vanilla tools class, I'll check.
About the orher tool not being considered maybe they're not being derived from vanilla tools class, I'll check.
I'm not sure if u checked already, but spectrum tools are considered, cuz I can put on tools slot, they have the correct tags, but it just never is used, we get the "no tool" toast, which makes me think it has 1 durability, but is unbreakable (don't use vanilla Unbreakable tag)
There's also incompatibility with electric tools from Tech Reborn and Industrial Revolution. Perhaps this issue could be renamed into tool incompatibilities (or turned into discussion)
The problem is that unbreakable enchantments/upgrade, isn't in vanilla, so I would need to add a special check for a specific mod, perhaps I can add a way to specify in the config that certain tool with a specific tag is unbreakable. About the orher tool not being considered maybe they're not being derived from vanilla tools class, I'll check.
Instead of doing it per mod, could you use fabric/forge tags?
For example, fabic has established common tags "#c:tools/pickaxes" or "#c::pickaxes" (with axes, shovels etc as well) that could be used. I'm fairly certain forge has a similar system.
Alternative option, allow a mode to allow durability to be used past 1? Or is that a limitation of the mod itself?
Or maybe allow a whitelist of items that can be configured to use as a tool as a bypass (but that could be abused?) (or whitelist items that can be used past 1 durability?)
I agree with using the tags as an option though, that should allow for better mod compatibility.
Honestly, while I like that it can save tools, it sometimes does cause issues...