Modifying armor value of TechReborn Quantum Armor
So, I'm trying to create a datapack to modify the armor values of the Quantum armor in the TechReborn mod.
The thing I've tried are spawning in the items with nbt, however this results in armour that has static armour values which is not how the armour behaves normally. The way it should behave is that it should have 0 armor at 0 charge(showed by the item durability being low and the "energy" tag being at 0 and when the "energy" tag is above 0 it has a higher armor (20 by default for the chestplace).
I could also use some help with what folder structure to use when putting this into a datapack although I thought being able to spawn an item that has the correct tags would be a good start (if there's a way to do this using only tags).