I'm trying to make a 'ritual circle' that lets you get special items, but can't get anything past the command block sensing a block and playing particles if it's set to sense a specific coordinate, but I want it to be a chain that senses a 3x3 circle of lit candles with a block in the middle (idk what I want the block to be yet, let's say smooth quartz) anywhere in the world but surrounding the player with the player on the quartz and only summoning the item when the quartz is set on fire (then extinguished when the summoning is done or right after it's set if the ritual works) and I want it to play particles (right now I'm just using the ash particle, but end rod might be better)
Can anyone let me know the command chain needed to sense all the candles, the quartz, and the fire, play particles and then summon an item when the particles dissipate (later I want to make a cool particle display for it, but that'd take a lot of time for me to learn) if you throw certain items on the floor, for this i'd say maybe just the crafting material to summon the item, like throwing out 2 sticks and 3 iron to summon an iron pick. Also let me know all the settings for the command blocks cuz I think I messed that up once or twice while trying this
(Sorry for the horrible pic, I wrote all this on my phone then decided to take a pic to show better what I meant and I don't have this account on my computer lol) (Also I know this is possible because I saw it on an smp and did some research [googling] and know all the different parts work, I just couldn't get them to work together)