EventsLib Mod Wiki › FAQ
EventsLib Mod FAQ
10 questions players actually ask, answered.
Do I need to install EventsLib if I already have other mods?
EventsLib is a library mod that runs in the background—you only need to install it if another mod you're using requires it as a dependency. Check your mod's description or README to confirm.
How do I check if a potion effect is active on a mob?
EventsLib provides event listeners that monitor active potion effects on mobs and players. Other mods built on EventsLib can query effect status and duration percentages without you needing to do anything manually.
Can I use EventsLib to trigger something when an effect expires?
Yes—EventsLib fires cleanup events the moment a potion effect wears off, which dependent mods use to trigger custom actions like ability resets or attribute changes.
Will EventsLib slow down my game?
No, EventsLib is designed to run with minimal performance impact by using efficient event listeners instead of heavy tick-by-tick checks. It only processes active effects on mobs that actually have them.
What mods work with EventsLib?
Any mod that lists EventsLib as a dependency will use its event system. Check the mod's description or dependencies list to see if it requires EventsLib.
Can EventsLib track custom potion effects from other mods?
Yes—EventsLib monitors any potion effect instance applied to mobs or players, including vanilla and modded effects, as long as they use Minecraft's standard effect system.
Do I need to configure EventsLib after installing it?
No configuration is needed—EventsLib works automatically in the background once installed. Dependent mods handle their own settings.
What happens if I remove EventsLib while playing?
Removing EventsLib will break any mods that depend on it, causing errors or missing features. Always keep it installed if other mods require it.
Can EventsLib access player inventory or attributes during an effect?
EventsLib provides access to mob and player data during effect ticks, which allows dependent mods to read and modify attributes, but the specific capabilities depend on how those mods implement it.
Why do some mods require EventsLib instead of handling effects themselves?
Using EventsLib lets multiple mods share the same efficient event system instead of each one running separate effect checks, reducing lag and preventing conflicts between mods.