DarkMobs - Change mob effects
Unknown (6945)by GamerPotion
DarkMobs datapack to change effects or disable effects for mobs
Type
Unknown (6945)
CurseForge Downloads
462,292
CurseForge ID
1446372
Last Updated
Sep 5, 2026
Description
DarkMobs datapack to change effects or disable effects for mobs
Instructions
This datapack allows you to fine-tune the mob effects from the DarkMobs Mod.
To begin, open this folder:
data/darkmobs/functions/
Inside here you will find all the mcfunction files named for each mob.
Lets take 'villager' as an example. Open the villager.mcfunction file using a text editor
You should see the below 4 lines:
execute if score count_mobs darkmobs matches 0.. run effect give @s minecraft:strength 99999 2
execute if score count_mobs darkmobs matches 0.. run effect give @s minecraft:absorption 99999 2
execute if score count_mobs darkmobs matches 0.. run effect give @s minecraft:speed 99999 2
execute if score count_mobs darkmobs matches 0.. run effect give @s minecraft:resistance 99999 2
At the end of each of these lines, notice it shows the effect (minecraft:xxxxxx), the duration (99999), amplifier (0/1/2)
Simply edit the effect, duration and amplifier you want, save the file
You can get more information on effects from here - https://minecraft.fandom.com/wiki/Effect
Note: if you want to disable an effect for a mob, for example you want to make a Villager like vanilla, then delete everything inside the villager.mcfunction file and save it (it will become a 0kb file) and make villagers like vanilla again.
After everything is done, upload the datapack zip file into your world's "datapacks" folder, then restart your server or singleplayer world.
Recommended Gear
AffiliateHardware and extras that pair well with this unknown (6945).
As an Amazon Associate I earn from qualifying purchases.
Similar Unknown (6945)s
Repurposed Structures - Illager Invasion Compat
Adds compatibility between Repurposed Structures and Illager Invasion's woodland mansions!
MES - Biomes O' Plenty Compat Pack
Switches out the style of MES structures to use blocks from BOP, creating a more cohesive and immersive experience when...
RCT Badges - Cobblemon Pokemon Badges
Leaders from Radical Cobblemon Trainers will drop badges from the Cobblemon Pokemon Badges mod.
Pokopia Cosmetic Forms [Cobblemon]
Adds Peakychu, Smearguru, Mosslax, Professor Tangrowth, and Trainer Ditto to the game.
Alex's Mobs Compat
Adds compat between Alexs Mobs and many mods!
Archers Expansion - Balacing Datapack for Prominence II
This Datapack was made to balance out the three Spellbooks of Deadeye, Tundra and War Archer from Archers Expansion for...
