Illagers in a Team: Stop Friendly Fire in Minecraft Raids

Illagers in a Team prevents illager friendly fire during raids, making chaotic modded battles fairer for Minecraft. Download this tiny datapack now!

Download illagers in a team for Minecraft 1.20.1

Original name: illagers in a team

Minecraft: 1.20.1

Loaders: Forge

FileVersionLoaderSize
illagers_in_a_team_v1.0.zip1.20.1Forge2 КБDownload

Illagers in a Team

Minecraft raids are meant to be epic showdowns between villagers and the menacing illager horde. But when you introduce mods that add dozens of new raider types, the battle often turns into a messy free-for-all where illagers attack each other instead of the player. The Illagers in a Team datapack solves this problem with just a few lines of code, ensuring every pillager, vindicator, and ravager works together as a single ruthless unit.

Illagers in a Team datapack banner showing pillagers and ravagers united under one team banner in a Minecraft village raid.

What Does Illagers in a Team Actually Do?

At its core, this is a lightweight 3kb datapack that runs a simple but powerful set of commands. It creates a team called "illagers" and immediately disables friendly fire among all raider-type mobs. Then it automatically adds every raider that spawns into that team. The result? No more vindicators accidentally slaying their own evoker allies, no more pillagers shooting ravagers in the back. Every illager focuses solely on the player and the villagers, exactly as intended.

This is especially valuable in heavily modded environments where custom raider mobs from mods like Illager Expansion or Savage & Ravage can spawn with conflicting AI. Without Illagers in a Team, those extra mobs often end up fighting each other, trivializing what should be a challenging event. The datapack simply runs the commands team add illagers "illagers", team modify illagers friendlyfire false, and team join illagers @e[type=#raiders, team=] on a loop, making it compatible with any mob tagged as a raider.

Why You Need This Tiny Datapack

Vanilla raids are already chaotic, but modded raids can become unplayable when illagers start infighting. Imagine a raid with twenty different illager variants, each with unique attacks, all accidentally hitting each other. The raid bar barely moves because the illagers are too busy killing themselves. Illagers in a Team for Minecraft eliminates that frustration. It keeps the challenge intact by forcing all raiders to cooperate, turning every raid into a coordinated assault that tests your defenses.

Another huge benefit is performance. When illagers fight each other, the game processes extra combat calculations, pathfinding, and damage events. By preventing friendly fire, you reduce server lag and keep the action focused on the player. This datapack is so small it won't impact your world's load time at all—it's literally just a few commands that run once and then periodically to catch newly spawned raiders.

How to Install Illagers in a Team

Installing this datapack is straightforward, even if you've never used one before. First, download Illagers in a Team from a trusted source. You'll get a .zip file. Do not unzip it. Open your Minecraft world folder, navigate to the "datapacks" directory, and drop the .zip file inside. If you're on a server, place it in the server's world/datapacks folder. Then either reload the world or run the /reload command. The datapack activates instantly—no configuration needed.

For players who prefer a smoother experience, the foxygame.net launcher offers a built-in add-on catalog where you can find Illagers in a Team and install it with a single click, automatically matching the correct version for your modded setup. This eliminates any guesswork about compatibility and keeps the datapack updated alongside your other mods.

Compatibility and Supported Versions

Illagers in a Team works on Minecraft Java Edition 1.13 and above, including the latest 1.20+ updates. Since it relies on the /team command and the #raiders entity tag, it's fully compatible with any mod loader—Forge, Fabric, Quilt, or even a vanilla server. The datapack doesn't add any new files or modify game mechanics, so it won't conflict with other mods or datapacks. It simply runs in the background, keeping your raids fair and focused.

If you're playing on a snapshot or an older version, just make sure the #raiders entity tag exists. In rare cases where a mod doesn't properly tag its custom illagers, you can manually add them to the team using a simple command, but for 99% of mods, the automatic joining works flawlessly.

Making the Most of Illagers in a Team

Once installed, you'll notice the difference immediately during your next raid. All illagers will have a visible team tag above their heads (you can hide this with a quick command if you prefer immersion). The real magic happens in ultra-modded packs where raid events can spawn dozens of unique mobs. With Illagers in a Team, those mobs form a true army, surrounding the village and attacking in waves without a single friendly casualty.

You can also combine this datapack with other raid-enhancing mods to create custom challenges. For example, pair it with a mod that increases raid difficulty or adds boss illagers. The team mechanic ensures that even the most powerful custom raiders won't turn on each other, letting you design truly brutal encounters.

Final Thoughts on Illagers in a Team

Sometimes the smallest add-ons make the biggest difference. Illagers in a Team is a perfect example—a 3kb datapack that fixes a fundamental flaw in modded Minecraft raids. Whether you're a server admin tired of broken raid events or a solo player who wants a fair fight, this datapack is a must-have. Download Illagers in a Team today and watch those pillagers finally learn the meaning of teamwork.