My pistol is only about 3/4" fully extended, and never comes out of the rock. He has paired up with my gobie though!!
My mantis is about 2"-2.1/2" long, and is a lot of fun to watch.
Keep in mind:
Pistol = Reef Safe
Mantis = Not even close to reef safe
My mantis is in a species only tank.
If you know what rock the clicking is coming from take it out of your tank and dip it in RO/DI water for about 30 secs. If it is a mantis he will come flying out! A pistol might take about 3--60 secs to come out. Then put the rock back in your tank and put what ever the creature is back in a container of tank water. Now you can figure out what it is...
Yes, I know it is usually the bottom rock in your tank. I have had to extract 3 mantis from my tank.