Schedule commands in Minecraft datapacks with cancellation and context preservation. Remember which entity and location triggered it.