Configurable Mob Potion Effects
✏️ Set potion effects for all living entities to have permanently and to inflict.
介绍
Configurable Mob Potion Effects is a server-side mod which allows administrators to give any mob a permanent potion effect and set a potion effect done to the target when a mob damages them. It is completely configurable, it works for all modded entities and all modded potion effects. The mod by default does not do anything, you have the control.
There are two config files. Both located in the folder ‘./config/configurablemobpotioneffects/‘.
One is called ‘permanenteffects.txt‘. Here you can add permanent potion effects to any mob.
The other is called ‘ondamageeffects.txt‘. Here you can set what potion effects should be given to the damaged target by any mob.
The config files are generated on first load of the mod. If you add any modded entities or potion effects, remove the files and reload the game once.
/cmpe reload – Reloads all manual changes to the config files.
All available config options:
Show Spoiler
After first load, the config files contain all possible entities and all possible potion effects. With the level set to 0, all are disabled by default. All you have to do is find the correct line and change the values.
The ‘permanenteffects.txt‘ config file:
The ‘ondamageeffects.txt‘ config file:
Let’s make all slimes super fast, with a permanent speed level of 50.
Find the slime section in ‘./config/configurablemobpotioneffects/permanenteffects.txt‘:
Find the speed potion effect section:
Set the level to 50:
Restart the game or use /cmpe reload and watch the magic happen:
Show Spoiler

Another example, let’s make the endermite’s attack give levitation 10 for 1 second.
Find the endermite in ‘./config/configurablemobpotioneffects/ondamageeffects.txt‘:
Find the levitation section:
Set levitation level to 10:
Set the duration to 1 second:
Restart the game or use /cmpe reload and let’s fight that endermite!
Show Spoiler

Last example, let’s make a zombie quite fast and poison its target when it attacks:
Find the zombie in ‘permanenteffects.txt‘, and set the speed level to 5:
Find the zombie section in ‘ondamageeffects.txt‘ and set the poison level to 2, the duration of 5 seconds is fine:
Restart the game or use /cmpe reload and done! Here’s the zombie:
Show Spoiler

Your turn! 🙂
You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
常见问题
Configurable Mob Potion Effects 支持哪些 Minecraft 版本?
Configurable Mob Potion Effects 支持 Minecraft Java 版 1.14.4–26.3,共 38 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。
Configurable Mob Potion Effects 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
Serilum 的其他作品
查看全部 →Collective
🎓 Collective 是 Serilum 所有模组共用的前置库,包含通用代码。
Starter Kit
📦 为加入世界的新玩家提供可配置的初始装备、物品、药水效果、Curios 和 Trinkets 饰品槽位和/或命令。兼容 FTB Team Islands。
Villager Names
为所有村民实体添加默认名称或自定义名称,让世界更加生动。
Double Doors
🚪 多个相同的双开门、活板门和栅栏门可以同时打开。

评论
登录后评论和评分