Mod
TslatEffectsLib
No reviews yet
A small developer library to expand the functionality of MobEffects
Provides a framework or library for other mods to use.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
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
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
How do I use it?
Just about everything you'll need to know is documented here:
https://github.com/Tslat/TslatEffectsLib/wiki
If you have issues or want to contribute, please jump on the GitHub page and make your voice heard
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers