In essence I've decided to develop a plugin that rots certain food in minecraft over 3 minecraft days. I know I'm going to need a BukkitRunnable running every second or so to update how the food is rotting however I need help with this criteria: Food should change status once every minecraft day and should change regardless of where it has been placed. inventory/chest/shulker box/backpack/etc [If placed in an enderchest, if possible, deny rotting until it is removed again] Fresh, stale, and musty food should not be allowed to stack with eachother, but food items that are fresh can stack with fresh and etc. I have no idea how to track every individual item. The only thing I can think of is creating a unique id for every item but this means I can't stack them (I don't think?). If you need more information/are confused then say below but thanks for reading.