Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
EventsLib Mod Wiki

EventsLib Mod Wiki & Guide

wiki.9minecraft.net/eventslib-mod/

Provides event handling library for mod development.

Guides

Step-by-step, in-game.

Frequently asked questions

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.

See all 10 EventsLib questions ›