
Hey everybody, it’s UnderMyCap, and welcome back to another video! Today, I’m going to show you how to make a player tracking compass in Minecraft Bedrock. I’ve already made a video for Java Edition, so if you’re on Java, make sure to check that out. I’ll leave a link in the description below. This video is really simple, so without further ado, let’s get straight into it. First, let’s explain how this works. Basically, a compass will always point towards your spawn. If I have a compass right now, you’ll see that it points to the direction where I spawned. If I change the spawn to my current location, the compass will change and point this way since the spawn is now here. What I am going to do with this command today is constantly set the world spawn to the player’s location, which means the compass will point towards the player. You’ve probably seen this in manhunts, and this is how they do it. So, let’s open up the console. I’m going to give myself a command block by typing: `/give @s command_block`. Once you do this, place the command block and type in a very simple command called “execute,” which runs another command. I’ll type that in now: `execute @p ~ ~ ~`. This executes the command where I am, with no offset. Now, the next part of the command is what we want to execute, which will be `setworldspawn`. Once I input that in, we should be good to go. I’ll make this repeat and set it to “always active,” and you should see that it is now working. The compass might go a little crazy right now because it doesn’t know what to do since we are currently the world spawn. First, let’s get rid of the command output spam by typing: `/gamerule commandBlockOutput false`. This will stop all of the spam you see in the chat. If I then take an item frame and a few blocks, you will see that the compass is following me. So, that’s how you create a player tracking compass similar to what you see in manhunts! If you enjoyed the video, don’t forget to leave a like and subscribe to the channel. I’m a small channel and I’m almost at 6k subscribers, so please help me reach that goal! If you liked this content, I have plenty more on my YouTube channel. If you’re playing Java Edition and this didn’t work for you, make sure to check out my Java Edition video, as some people get a bit mixed up with the two versions. Thank you so much for watching! Have a happy new year, and I can’t wait to see you in the next video!
This post has used AI to generate and enhance content