Inspired by Dream's Minecraft Manhunt series on YouTube. Designed for Minecraft 1.16.2+. It's certainly poorly designed, but it's gratis and free, and we all like both don't we.
- Run
function #manhunt:setup
.- This isn't required, but it'll freeze the game (daylight cycle, etc.) until everyone's ready.
- Run
function #manhunt:begin
to begin.- It'll randomly assign one person as being hunted and the rest to being hunters.
-
Run
function #manhunt:setup
.- Smack your friends around until everyone joins.
-
Change settings as you see fit with
data modify
.- Run
data get storage manhunt:settings
to see all settings. - Make sure the worldborder size is more than double the
spawnRadius
gamerule!
- Run
-
Assign teams with
team join mmh.hunters <player>
orteam join mmh.hunted <player>
.- The game will randomly assign a hunted player
if the number of hunted players is less than 1 (or whatever
mmh.mechanics.begin.team_assignment.hunted_size
is) when the game begins.
- The game will randomly assign a hunted player
if the number of hunted players is less than 1 (or whatever
-
Make sure everyone is technically alive; some players might not be frozen properly if not.
-
Run
function #manhunt:begin
to begin.
Some features of the tracking compasses ("trackers") are:
- Doesn't update when in different dimensions
- Except if you're in the overworld and the target is in the Nether; then, it updates to the Nether Portal coordinates.
- Updates every tick
- Hold the compass to update (no right-clicking necessary)
- Trackers blindly track the nearest hunted player.
- Dropped trackers get deleted
- This is to reduce clutter. Only hunters should have trackers.
- Hunters get another tracker immediately every time they lose it
- This also means that you might have 2 compasses in your inventory if you move it around. This is okay: just drop one of them and it'll be deleted.
- The rationale is because people might place a compass in a chest.
Run ./build.sh
to create a ZIP file in the releases
folder. Works best on GNU/Linux.
I'll try to detect 7-Zip if on Windows later on, but for now the files to be zipped are in .build/files
. You can upload that to GitHub releases or share it with friends or something idk.
Also, I sometimes post fixes to things in releases in master
because I'm bad at programming and versioning; as such, you can also download this repo as a ZIP if you wish to use it personally; the build script just bundles AESTD. Make sure to also put AESTD in your datapacks
folder.
- daatguy for pushing me to make this
- Aeldrion for AESTD
- The Minecraft Wiki and r/MinecraftCommands for resources and documentation
- Lantern for their Load library
This datapack is licensed under the Expat/MIT License.
AESTD and Lantern Load are licensed under 0BSD.
See the dep5 file and/or individual files for more information on copyright and licensing (and a link to the source code, if using the built release). (You could also use the REUSE initiative's handy tool.)
If you're reading this in a pre-bundled ZIP, you can find the URL to the source code in the pack.mcmeta and dep5 files.