Mineuniverse
Data Packs
DarkMobs - Change mob effects

DarkMobs - Change mob effects

DATA PACK
DarkMobs datapack to change effects or disable effects for mobs
by GamerPotion
Download Claim this project
618,738 downloads
0 likes
Updated Oct 14, 2026
0 hypes
Adventure Fantasy Miscellaneous Mod Support Utility
Advertisement Remove ads with Premium →

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.

 

darkmobs_change_mobs_datapack_1.20.x.zip
MC 1.20.2, 1.20.1, 1.20.3
Release 2026-01-27 Get
darkmobs_change_mobs_datapack_1.21.x.zip
MC 1.21.8, 1.21.5, 1.21.4, 1.21.1, 1.21.6, 1.21.3, 1.21.7, 1.21.2, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3
Release 2026-01-27 Get

Requirements & install

How to use this data pack in Minecraft
Mods needed
None, works in vanilla
Minecraft
1.21.9 – 26.3
Install folder
saves/<world>/datapacks

How to install data packs

  1. Download the data pack .zip file (do not extract it).
  2. New world: click Data Packs on the world creation screen and drop the .zip in. Existing world: open .minecraft/saves/<world>/datapacks.
  3. Put the .zip into the datapacks folder of the world (servers: world/datapacks).
  4. Run /reload in game (or rejoin the world) and check it with /datapack list.
Browse more: Data Packs for 26.3 All data packs

More from GamerPotion

Advertisement Remove ads with Premium →

You Might Also Like