![[CMT] Custom Mob Targets (Muddy Port)](https://cdn.modrinth.com/data/HaM5Rbgx/da2eb6487ee72f5ef4b2afd0236da8a9ec7558cb_96.webp)
This is a port of the original 1.12.2 CMT mod by ZeithComms (and me).
A lightweight, server-side mod that lets modpack makers and server owners configure any mob to target and attack any other living entity — including players, passive mobs, and modded entities.
Passive mobs can be given melee and ranged attacks to become able to attack.
Everything is controlled through simple JSON config files. No coding, no datapacks, no dependencies.
Features:
- Any mob can target any mob — creepers vs sheep, zombies vs skeletons, cows vs chickens — you name it
- Melee attacks for passive mobs — give sheep, cows, pigs, etc. a configurable melee attack
- Ranged attacks with 10 projectile types — arrows, fireballs, wither skulls, shulker bullets, and more
- Configurable damage for melee and ranged (arrow-type) attacks
- Works with modded mobs out of the box — just use their registry ID (e.g. "modid:entity_name")
- Multiple configs — use one file or split across many, single object or array format
- Hot-reload — use the "/cmt reload" command to apply config changes without restarting the server
- Zero dependencies — just drop it in and go (this mod does nothing without configuration, there is an example file included that will not do anything, but shows how to configure a target)
On first launch, the mod creates a config/CustomMobTargets/ folder containing:
targets.json — your config file (starts empty, add your entries here) __examples.json — example configs for reference (NOT loaded — files starting with __ are ignored) __README.txt — full documentation of every config field Open targets.json and add your entries. Use /cmt reload in-game to apply changes instantly.
FAQ Does this work with modded mobs? Yes. Use the mod's registry ID, e.g. "alexsmobs:grizzly_bear" or "twilightforest:naga".
Can I make mobs target players? Yes. Use "minecraft:player" as the target entity.
Can I use multiple config files? Yes. Any .json file in the CustomMobTargets folder is loaded (except files starting with __). Each file can contain a single entry or an array of entries.
Server-side only? Yes. Only needs to be installed on the server. Clients don't need it. You can also use it for singleplayer just fine.
Link to original
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.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 — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as CustomMobTargets-1.20.1-20.1.0.jar — drop this file into the mods folder
- Download size: 18 KB
- Download link checked 20 Aug 2026 — working
These come from our own check of the pack file, not from the source page.