[Datapack] Compass Tracker (Manhunt)

[Datapack] Compass Tracker (Manhunt)

23.8k Downloads


Discord: The Quin Studios community hub, and semi-regular news
Twitter: Texture-by-texture progress for my resource pack, Immersion, and general Quin Studios news
Patreon: In-depth update and development progress posts for large projects

If you like my work, please consider supporting me on Patreon. Alternatively, I also have a Ko-Fi account.

This datapack allows an infinite number of players to track up to 50 other players or entities using a specialized tracking compass. The pack does so by designating either tracked or tracker roles to players and entities.

All players with the tracker role receive a tracking compass that points to the nearest entity with the tracked role. The compass cannot be thrown out, and cannot be moved in creative mode. If there are no tracked entities, the tracking compass will be removed, and will be re-given when new entities are tracked. Unloaded non-player entities and offline players are not recognized by the compass.

To set up, simply install the datapack and then follow the setup guide.

Installation

New World:

     1. Select Data Packs in the world creation menu

     2. Drag and drop the download into the Minecraft window, then select Yes to add the pack

     3. Click the arrow on the pack icon to load the pack, and then select Done

     4. Load and play your world, and follow the setup guide that pops up

Existing World:

     1. Navigate to your world folder. You can open it from the worlds menu by selecting your world, Edit,

         and then Open World Folder

     2. Go into the datapacks folder, and move the download there

     3. Load your world

     4. type /reload, and then follow the setup guide that pops up.

Note that if you are installing the datapack into a pre-existing world, you will need to temporarily enable cheats in order to reload the datapack. Cheats do not need to be enabled after reloading, and are not necessary for new worlds.

Commands

/trigger reload - redisplays the current stage of the setup screen

/trigger reset - resets all values and restarts the setup screen

/trigger track_mode - toggles between unidimensional and interdimensional tracking

/trigger tracker - assigns the tracker role

/trigger tracked - assigns the tracked role

/execute as <entity> run trigger <role> - assigns a given role to another entity. Requires the user to have cheats enabled.