I am making a magic mod that uses a system similar to the Dark Souls bonfire to restore spell casts. You click on the block and it restores the number of times you can cast a certain spell. I am having trouble with NBT to save the number of castings. Each time you craft an upgrade and apply it to your staff you get another set of casts, and I want to haev the variables update and change how many spells you get each time you use the recharge block. Can anyone help explain a way I could do this?