How would I go about doing that exactly?
Redefine onUpdate(ItemStack, World, Entity, int, bool) in the item that you want to change. Put some sort of a check in there: if X ticks have passed, change the contents of the ItemStack.
Okay, so I have this class.