跳到正文

Configurable Mob Potion Effects

作者:Serilum

✏️ Set potion effects for all living entities to have permanently and to inflict.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

A Serilum Mod. Made with love. Lots of active mods for Fabric, Forge and Neo!

CurseForge Modrinth Patreon YouTube

About the mod

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.

Dependencies

Requires Collective
Included in Serilum's Customization Bundle
Environment: Server

Commands

/cmpe reload – Reloads all manual changes to the config files.

Configurable

Configuration guide

   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:

Showcase

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! 🙂

Notes and links

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 的其他作品

查看全部 →