Minecraft wiki entry for Defeating_pyramids, associated text: In Bedrock Edition, you can also use the command /locate temple with cheats enabled. Note that using the locate command can only locate the nearest temple, no matter what kind of temple it is. It can be a desert temple, jungle temple, or even a witch hut or igloo. But if you're in a desert there's more chance for the nearest temple to be a desert temple.