Lux

Lux

A simple, easy-to-use screen flash system!

by
525 Downloads
fabriclibraryutility
Rent Server with this Mod

About this Mod

Lux

Lux is a simple, easy to use screen flash system for Minecraft which can be used extremely efficiently.

To add the mod to your development environment, import this into your repositories tab:

maven {
        url = "https://api.modrinth.com/maven"
    }

This allows Modrinth URLs to be imported,

then, add this to your dependencies tab:

modImplementation "maven.modrinth:lux_chemthunder:${project.lux_version}"

And this will import Lux!

How to Use Screen Flashes!

To use a screen flash, simply type the LuxFlashRenderer into your given method (method should contain a PlayerEntity, which is the viewer.)

Then, add .sendFlash, and input the parameters, which are as follows:

PlayerEntity viewer: who can see the flash.

int color: the color of the flash.

Optional

Easing easing: The easing of the flash.

int holdTicks: The amount of ticks the initial frame of the flash is held.

Example

public class TestItem extends Item {
    public TestItem(Settings settings) {
        super(settings);
    }

    public TypedActionResult<ItemStack> use(World world, PlayerEntity user, Hand hand) {
        LuxFlashRenderer.sendFlash(user, 0xffffff, Easing.easeOutQuad, 20);
        return super.use(world, user, hand);
    }
}

Overflows

LuxFlashRenderer.sendFlash(user, 0xffffff);
LuxFlashRenderer.sendFlash(user, 0xffffff, Easing.linear);
LuxFlashRenderer.sendFlash(user, 0xffffff, Easing.linear, 20);
LuxFlashRenderer.sendFlash(user, 0xffffff, 20);

FAQ

Will I update this mod to future versions?

  • Most likely yes. I intend to use Lux for many more mods to come.

Will this mod be backported to x?

  • Depends on the version, as I heavily dislike modding for any version below 1.21.1.

Will this mod be ported to Mod Loader?

  • Absolutely not. I do not mod for any Loader other than Fabric.

Can I port this mod?

  • No. Not without my permission.

Why is the repository private?

  • It will be eventually, but it is mainly private since the code is still very unstable as of me writing this.

Available Versions

Lux 1.20.1-1.0.0release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6fabric
January 31, 2026
Lux 1.0.1release
MC 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
January 31, 2026
Lux 1.0.0release
MC 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
January 30, 2026

How to Install Lux 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.11).

3

Install Mod

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

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.11, 1.21.10, 1.21.9 (+14 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Lux 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.11). You can switch loaders with one click in the panel.

Is Lux compatible with fabric?

Lux officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Lux – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Lux 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 Lux 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
Creative Commons Zero v1.0 Universal
Server-side
Required

Supported Versions

1.21.111.21.101.21.91.21.81.21.71.21.61.21.51.21.41.21.31.21.2+7 more