
Friend or Foe Datapack
Java data pack listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.
⬇ Download on Modrinth

Friend or Foe ( FoF )
This is a datapack based on the Friend or Foe SMP by SB737.
The FoF S2 series: click me
What is FoF?
(My definiation might be different from the original SMP, but this definition is based on my datapack) Friend or Foe is a smp where PVP turns off and on every 15 minute. Each player has 10 lifes, when they die to a player they lose one and to get one u have to complete certain tasks. If a player losses all his lives, they he dies. There is also a tracker, they can be crafted to track a certain player. Totem is undroppable, Golden apples are uncraftable and villager trading is ban.
Features
- Golden apples are uncraftable, villager trading is banned, totem is undroppable set by default in this datapack (config will be coming soon).
- PVP toggles on and off every 15 minutes. The timer is shown above the hotbar of all players.
- A player tracker is implemented (just as FoF), the crafting recipe and how it works is given below.
- There are 7 tasks that a player can complete to get lifes, they must be the first one to do the taskes (information given below here).
- If a player losses all his lives, he dies and goes into spectator mode (don't worry he won't be able to teleport to players)
Tracker (how to use and recipe)
With the tracker u can track down a player of your choice.
If you do TAB in ur server, u will see all players and a number along their name, this number is their ID.
To track a certain player, u have to do the command /trigger IDtrack set {playerid}, before using the tracker, if you want to get the ID of the player you want to track just do TAB and see his id and put it in the {playerid} field.
The tracker is a compass item but the compass won't point in the direction of the player, when u hold the tracker and have selected a player, it will reveal the coordinates and dimension of the selected player every 30 second till you get closer (25 blocks) to him and it reveals for the final time before breaking.
Tracker Recipe

Tasks
Completing each task gives u a life.
- First task: killing a player.
- Second task: Get 10 netherite blocks.
- Third task: Kill 15 wardens.
- Fourth task: Get Furious cocktail (nether/all_potions) advancement.
- Fifth task: Kill ender dragon.
- Sixth task: Travel to all biomes i.e complete the adventure/adventuring_time advancement.
- Seventh task: Kill all mobs i.e complete the adventure/kill_all_mobs advancement.
MYTHS:
- You have to complete the tasks in order, doing the sixth task but the fifth task is not done then u will not get a life.
- If you have completed a task say Task 3 but task 2 is not completed then u will not get life but as soon as task 2 is completed, you will get a life instantly and it moves to the next task that is task 4.
Issue page
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.
- Downloads as FriendOrFoe.zip
- Download size: 139 KB
- Download link checked 9 Nov 2026 — working
These come from our own check of the pack file, not from the source page.