Back to mods
TslatEffectsLib project artwork

CurseForge · Minecraft mod

TslatEffectsLib

A small developer library to expand the functionality of MobEffects

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which TslatEffectsLib release should I use?

Updated 1 year ago
Latest stable file TslatEffectsLib Forge 1.20.1-1.8.7
Game version 1.20.1
Loader Forge

TslatEffectsLib Forge 1.20.1-1.8.7 targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is TslatEffectsLib required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does TslatEffectsLib Forge 1.20.1-1.8.7 need?

TslatEffectsLib Forge 1.20.1-1.8.7. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add TslatEffectsLib without breaking your instance.

Built for TslatEffectsLib Forge 1.20.1-1.8.7. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use TslatEffectsLib Forge 1.20.1-1.8.7. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside TslatEffectsLib Forge 1.20.1-1.8.7. It opens that exact file at the source.

About this project

What does TslatEffectsLib add?

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

Project description from CurseForge.

Pick your setup

TslatEffectsLib by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

20 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

TslatEffectsLib versions and loaders

50 of 50 releases match

Looking for an older file? The official CurseForge project page is in Resources.