Unable to change durability of weapons using external sources
TsEndere opened this issue ยท 1 comments
this may not be something you can fix, if you cant, its totally understandable. though i believe this is an override created by this mod. this seems to not be in effect for some throwing weapons, which i am able to manually override myself as they do not change durability through the config provided by the mod
the mod i am using is propertymodifier, and it works for everything else. I do not believe the mod matters, as any mod will likely be overridden.
The version is 1.16.5, if that matters at all.
i assume this comes from the config being able to be changed in game though i could be very wrong
throwing weapons being unsupported by the config and therefore available to be manually overridden (silver longsword for example)
will provide more images if needed, and you may delete this if it is an invalid issue.
Actually, the config overriding the durability when loaded is probably why the PropertyModifier mod doesn't work with this, since it probably modifies it earlier. I haven't worked on the 1.16.5 version for a while now so I've forgotten how it works. I believe that I made throwing weapons take the same durability value from the config and divide it by 4 (I think). At least, that's how it works in the newer versions (1.18.2 and above).
Kinda surprised that throwing weapon durabilities can be overridden though. Probably because it doesn't get updated properly when the config value gets changed.
At the very least, you can modify the values using either method, so hopefully it works out well. I still recommend using my config to do this though.
At this stage I don't plan on updating the 1.16.5 version unless a critical bug/crash occurs, so I'll close the issue.