Question: I was adventuring, and reset my spawn by accident, by interacting with a bed in a random village. I never wrote down the coordinates or followed a compass so I’m completely lost.

I worked really hard, and since I’m on a Nintendo switch it’s confusing with what everyone’s saying? How do I get back home? Is there any commands I can use? I even by accident changed the world spawn to a village?

Answer: 
there are couple of ways you can make your way to your base

1 - craft a compass

crafting a compass which will point to the world spawn

[![](https://i.stack.imgur.com/W00Kp.png)](https://i.stack.imgur.com/W00Kp.png)

2 - when you go to settings you should see your seed copy the seed and make a another world with the same seed and if you didnt change the spawn using commands in your orginal world then write your cords and go to the real game and follow that cords
If you did it in Survival, you could make a copy of the world, find where you had as the spawn/your base, and write down the coordinates (using creative to find the base)