TslatEffectsLib

TslatEffectsLib

A small library for making MobEffects easier to use, and more dynamic

by
11.8K Downloads
fabricforgeneoforgegame-mechanicslibraryutility
Rent Server with this Mod

About this Mod

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

Available Versions

1.8.7release
MC 1.20.1forge
September 17, 2025
1.8.7release
MC 1.20.1fabric
September 17, 2025
NeoForge 1.21.5release
MC 1.21.5neoforge
April 23, 2025
Forge 1.21.5release
MC 1.21.5forge
April 23, 2025
Fabric 1.21.5release
MC 1.21.5fabric
April 23, 2025

How to Install TslatEffectsLib on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.5).

3

Install Mod

Open the mod browser in the dashboard and search for "TslatEffectsLib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforgeneoforge

Minecraft Versions

1.21.5, 1.21.3, 1.21.1 (+12 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

TslatEffectsLib server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.5). You can switch loaders with one click in the panel.

Is TslatEffectsLib compatible with fabric and forge and neoforge?

TslatEffectsLib officially supports fabric, forge, neoforge for Minecraft 1.21.5, 1.21.3, 1.21.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with TslatEffectsLib – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if TslatEffectsLib consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install TslatEffectsLib with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.51.21.31.21.11.211.20.61.20.51.20.41.20.21.20.11.20+5 more