介绍
_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
常见问题
[CMT] Custom Mob Targets (Muddy Port) 支持哪些 Minecraft 版本?
[CMT] Custom Mob Targets (Muddy Port) 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
[CMT] Custom Mob Targets (Muddy Port) 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
MuddyMonkey 的其他作品
查看全部 →
Wolf Armor and Storage Enhanced (MuddyPort)
Craftable wolf armor, wolf chest storage, auto-healing, and more.
Cobblemon Move Inspector Forge (MuddyPort)
A Forge port of Starlotte's Cobblemon Move Inspector for 1.20.1
Dynamic Trees – Project MMO (Muddy’s PMMO XP Compat)
Compatibility between DynamicTrees and Project MMO.
评论
登录后评论和评分