Here's a list of some possible 1.17+ events for when DiamondFire updates. I know some of these can be replaced with variables and other code blocks (such as "If" blocks)... But, these are just ideas.
1.17.x
1. On spyglass use & On spyglass stop. (Player Event) Triggers when a player uses or...