Modern Manhunt (Datapack)
A Minecraft Java datapack that recreates the classic Manhunt game mode, modernized to use the locator bar instead of a compass and an easier start of the game.
This pack was born during a Manhunt session where we realized the experience could be far smoother and more intuitive than what was available.
Supported Versions
- Minecraft Java 1.20 → 1.21.11 (Tested on 1.21.11, should be compatible with other supported versions)
- Fully vanilla & server-friendly (Note that this pack will affect all players on a server, even ones without a team, to some extent)
What This Datapack Does
-
Adds a simple Manhunt setup with Hunters vs Runner
-
Uses Locator Bar instead of a tracking compass
-
Includes:
- 30-second PvP grace period with countdown
- Automatic PvP toggle
- Win & loss detection
- Clean stop/reset command
Core Gameplay Rules
Teams
-
Hunters
- Blue names
- Cannot transmit waypoints (runner cannot track hunters)
-
Runner
- Red name
- Objective: survive and kill the Ender Dragon
Win Conditions
- Runner dies somehow → Hunters win
- Ender Dragon dies → Runner wins
Commands
Join Teams
/team join Hunters <player>
/team join Runner <player>
(If no player is specified, player who executed team command will be assigned)
Start the Game
/function manhunt:start
This will:
- Disable PvP
- Sets time to day
- Freeze all players (This distorts FOV. Disable "FOV Effects" in Accessibility to fix this. This has been implemented to stop anyone from running away with PVP disabled)
- Clear all inventories
- Remove dropped items
- Fill Health & Saturation for everyone completely
- Disable waypoint transmission for Hunters
- Start a 30-second countdown
- Enable PvP after the countdown
- Set Worldspawn & Spawnpoint of everyone at coordinates of the player who executed the command.
- Set the Worldborder diameter to 12000 with center 0, 0.
Stop the Game
/function manhunt:stop
This will:
- Cancel the manhunt
- Remove bossbars & timers
- Restore altered attributes
- Show a gray “Manhunt Stopped” title
Installation
-
Download the datapack
-
Place it in:
.minecraft/saves/<world>/datapacks/ -
Reload the world or run:
/reload -
Verify it loaded:
/datapack list
That’s it. If it doesn’t work after this, its a bug we need to fix. Please report these on our github repository. (Linked Above)
How Waypoints Are Used
This datapack uses Minecraft’s locator bar introduced in 1.21.6.
Attribute Used
minecraft:waypoint_transmit_range
What It Does
- Hunters have their transmit range set to
0.0 - This prevents them from broadcasting their position to the runner
- The Runner remains unaffected
Exact Command Syntax
/attribute @a[team=Hunters] minecraft:waypoint_transmit_range base set 0.0
When the game stops, this attribute is restored to its default value.
Note: This datapack is NOT a fork of Lprogrammer's Manhunt datapack, but it was inspired by it. It was fully coded by us, and no code was reused from Lprogrammer's pack. If you want to check their pack out, click here
