Configurable Mob Potion Effects

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

72,45k

Configurable Mob Potion Effects

<p style="text-align: center;"><center><a href="https://serilum.com/" target="_blank" rel="noopener noreferrer"><img src="https://cdn.serilum.com/description/header/header.png" alt="" width="838" height="400" /></a></p><p style="text-align: center;"><a href="https://curseforge.com/members/serilum/projects" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/curseforge.svg&w=400" width="200" /></a> <a href="https://modrinth.com/user/Serilum" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/modrinth.svg&w=400" width="200" /></a> <a href="https://patreon.com/serilum" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/patreon.svg&w=400" width="200" /></a> <a href="https://youtube.com/@serilum" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/youtube.svg&w=400" width="200" /></a></center></p><p><strong><span style="font-size: 24px;">Requires the library mod <a style="font-size:24px" href="https://modrinth.com/mod/collective" target="_blank" rel="nofollow">Collective</a>.</span></strong><br><br><strong>   This mod is part of <span style="color:#666"><a style="color:#666" href="https://modrinth.com/mod/serilums-customization-bundle" target="_blank" rel="nofollow">Serilum's Customization Bundle</a></span> mod.</strong><br><span style="font-size:18px">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.<br><br>There are two config files. Both located in the folder '<em>./config/configurablemobpotioneffects/</em>'.<br>One is called '<em>permanenteffects.txt</em>'. Here you can add permanent potion effects to any mob.<br>The other is called 'o<em>ndamageeffects.txt</em>'. Here you can set what potion effects should be given to the damaged target by any mob.<br><br>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.<br></span><br><br><span style="font-size:24px"><strong>Commands:</strong></span><br><span style="font-size:14px"><em>/cmpe reload</em> - Reloads all manual changes to the config files.<br><span style="font-size:12px"><br></span><br></span></p>
<p><span style="font-size:14px"><span style="font-size:24px"><strong>The Config Files:</strong></span><br><span style="font-size:18px"><span style="font-size:14px">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.<br></span><br>The '<em>permanenteffects.txt</em>' config file:</span><br><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/a.png" width="1142" height="167"><br><span style="font-size:18px"><br>The '<em>ondamageeffects.txt</em>' config file:</span><br><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/b.png" width="1142" height="214"><br></span><br><br><br><span style="font-size:24px"><strong>Examples:</strong></span><br><span style="font-size:18px">Let's make all slimes super fast, with a permanent speed level of 50.</span><br><br><strong>Find the slime section in '<em>./config/configurablemobpotioneffects/permanenteffects.txt</em>':</strong><br><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/c.png" width="1142" height="126"><br><br><strong>Find the speed potion effect section:</strong><br><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/d.png" width="1142" height="125"><br><br><strong>Set the level to 50:</strong><br><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/e.png" width="1142" height="125"><br><br><strong>Restart the game or use <em>/cmpe reload</em> and watch the magic happen:</strong></p>
<details><summary>Show Spoiler</summary>
<p><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/f.webp" width="1000" height="560"></p>
</details>
<p> </p>
<p><br><br><span style="font-size:18px">Another example, let's make the endermite's attack give levitation 10 for 1 second.</span><br><br><strong>Find the endermite in '<em>./config/configurablemobpotioneffects/ondamageeffects.txt</em>':</strong><br><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/g.png" width="1356" height="189"><br><br><strong>Find the levitation section:</strong><br><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/h.png" width="1142" height="156"><br><br><strong>Set levitation level to 10:</strong><br><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/i.png" width="1142" height="156"><br><br><strong>Set the duration to 1 second:</strong><br><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/j.png" width="1142" height="155"><br><br><strong>Restart the game or use <em>/cmpe reload</em> and let's fight that endermite!</strong></p>
<details><summary>Show Spoiler</summary>
<p><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/k.webp" width="1000" height="564"></p>
</details>
<p> </p>
<p><br><span style="font-size:18px">Last example, let's make a zombie quite fast and poison its target when it attacks:</span><br><br><strong>Find the zombie in '<em>permanenteffects.txt</em>', and set the speed level to 5:</strong><br><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/l.png" width="1142" height="124"><br><br><strong>Find the zombie section in '<em>ondamageeffects.txt</em>' and set the poison level to 2, the duration of 5 seconds is fine:</strong><br><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/m.png" width="1142" height="154"><br><br><strong>Restart the game or use <em>/cmpe reload</em> and done! Here's the zombie:</strong></p>
<details><summary>Show Spoiler</summary>
<p><img src="https://cdn.serilum.com/projects/configurable-mob-potion-effects/n.webp"></p>
</details>
<p> </p>
<p> </p>
<p><span style="font-size:24px"><strong>Your turn! :)</strong></span></p>
<p><br>------------------<br><br><span style="font-size:24px"><strong>You may freely use this mod in any modpack, as long as the download remains hosted within the Modrinth ecosystem.</strong></span><br><br><span style="font-size:18px"><a style="font-size:18px;color:#008000" href="https://serilum.com/" rel="nofollow">Serilum.com</a> contains an overview and more information on all mods available.</span><br><br><span style="font-size:14px">Comments are disabled as I'm unable to keep track of all the separate pages on each mod.</span><span style="font-size:14px"><br>For issues, ideas, suggestions or anything else there is the <a style="font-size:14px;color:#008000" href="https://github.com/Serilum/.issue-tracker" rel="nofollow">Github repo</a>. Thanks!</span><span style="font-size: 6px;"><br /><br /></span></p>

ADS