Make Player Tracking Compasses In Minecraft Java Edition!!! Make Compasses Point To Players!

Video Summary
In this video I show you how to make a player-tracking compass in Minecraft Java Edition using a simple command block setup. Since compasses point to world spawn, I use an /execute command to constantly set the world spawn to a chosen player’s current coordinates. Once it’s running, any compass will always point toward that player as they move around. I also show how to hide command block output for a cleaner experience.

Formatted Transcript

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: Java Edition. If you want the Bedrock Edition version, I’ll leave a link in the description—this video should be coming out soon. For now, this tutorial is purely for Java Edition.

How the Player-Tracking Compass Works

By default, a compass always points toward the world spawn. The world spawn is the location where you first spawn when you create a new world. If we keep changing the world spawn using a command, the compass will always point to the new spawn location.

With that in mind, we can make the compass “track” a player by constantly setting the world spawn to that player’s current position.

Step 1: Get a Command Block

First, give yourself a command block. Run this command:

/give @s command_block

Place the command block on the ground.

Step 2: Add the Tracking Command

Now, type the following command into the command block:

/execute at <player> run setworldspawn ~ ~ ~

For example, if you want to track me (UnderMyCap), you would use:

/execute at UnderMyCap run setworldspawn ~ ~ ~

This executes the command at the target player and sets the world spawn to their current coordinates. That means the compass will always point to where that player is.

Optional: Hide Command Block Output

If you want to stop the chat from being spammed by command block messages, use:

/gamerule commandBlockOutput false

Step 3: Test It with a Compass

Now grab a compass. You should see that it continuously points toward the tracked player’s position. If the player moves around, the compass needle will update and follow them.

That’s basically it—it’s surprisingly simple.

If you enjoyed the video, please leave a like, and don’t forget to subscribe. I’m a very small channel, and we’re so close to 6K, so I’d really appreciate it. Thank you so much, have a happy new year, and I can’t wait to see you in the next video.

Video Thumbnail

Recommended Items Based On Post

Bestseller #1
  • KEY FEATURES: This Magnetic Compass consists of Acrylic Baseplate with Azimuth bearing and 360 degree rotating bezel. Wi…
  • PORTABLE & LIGHTWEIGHT: This Baseplate compass is an essential piece of survival gear to have in your pocket or hiking b…
  • PROFESSIONAL, ADVANCE COMPASS NAVIGATION: Basic orienteering compass is constructed for accurate directions and making i…
Bestseller #2
Bestseller #3
  • 【Precision Navigation】: Benefit from the 1-degree resolution and vertical lubber line for accurate readings on the compa…
  • 【Versatile Clinometer】: Measure height differences and slopes effortlessly, making it ideal for hunting, hiking, geology…
  • 【Rugged Durability】: Crafted from high-strength engineering metals, this waterproof and shakeproof compass is designed t…

Advertisment

Leave a Reply

Scroll to Top