TslatEffectsLib
Modby Scimiguy
A small developer library to expand the functionality of MobEffects
Type
Mod
CurseForge Downloads
374,410
CurseForge ID
700382
Last Updated
Jun 28, 2026
Description
A small library for making MobEffects easier to use, and more dynamic
What is this?
The existing MobEffect class in Minecraft is very limited and has only very specific and basic functionality.
You can't really do a whole lot with it without needing extra events, mixins, or any combination or the two.
This lib does the work for you, adding several new hooks and features allowing you to make much better use of the effect system
Features:
- Instance-sensitive tick method
- Instance-sensitive display name
- Can-apply checks
- Mutually-exclusive effects check
- On-application callback
- On-reapplication callback
- On-removal callback
- Instance-sensitive shouldTick method
- Pre, during, and post attack method callbacks for both incoming and outgoing attacks
- Client-side tick callback
- Custom screen overlay render callback
- Helper classes for building effects and potions
- Experimental extended Enchantments support
How do I use it?
Just about everything you'll need to know is documented here:
https://github.com/Tslat/TslatEffectsLib/wiki
To get started, just have your new custom effect extend ExtendedMobEffect instead of MobEffect, then make use of any of the methods available to you
If you have issues or want to contribute, please jump on the GitHub page and make your voice heard
Similar Mods
Spartan Weaponry Addon Toolkit
Developer tools for easier creation of Spartan Weaponry addons.
Load My Resources
Load resources on game start, like a resource pack, but enabled by default.
No Ruined Nether Portals
Simple mod that disables Ruined Nether Portals generation
Farmer's Cutting: Biomes O' Plenty
Adds Farmer's Delight cutting recipes for Biomes O' Plenty
Dungeons2
Dungeons2! mod
No Null Processors
Fixes structure crash in 1.17+ due to null processor lists coming from nowhere