Lumenium

A simple library adding utilities related to items, effects, rendering, etc.

296

Lumenium

<img alt="fabric-api" height="56" src="https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/requires/fabric-api_64h.png">

Simple library adding utilities related to items, effects, rendering, and players.

*Some utilities are derived from other libraries.*

Implementation

Add the repository for Modrinth to your `build.gradle` repositories. ``` maven { url = "https://api.modrinth.com/maven" } ``` Then, add the dependency for Lumenium in your `build.gradle` dependencies block. ``` modImplementation "maven.modrinth:lumenium:${project.lumenium_version}" ``` Then simply input the correct version of Lumenium in your `gradle.properties`.

Alternatively, it can be used as a jar-in-jar dependency.

Place the jar file in the your main folder, where `build.gradle` is.

Then, in `build.gradle`, input the following line in the dependencies block.

``` modImplementation files(lumenium-1.0.0) ``` Replace 1.0.0 with whatever version of Lumenium is being used.

List of Features

Beam Renderer

* Creates a textured beam on either client or common(server) side.

Sphere renderer

* Creates a textured sphere on either client or common(server) side.

Quad Renderer

* Creates a textured quad on either client or common(server) side.

Cube renderer

* Creates a textured cube on either client or common(server) side.

Screen Flash

* Creates a flash of color on the screen.

Easings

* Simple easing functions. Derived from LodestoneLib.

Unclearable Effects

* Makes a status effect unclearable.

Custom Hit Sound Item

* Plays a custom sound on every hit.

Custom Item Name Color

* Changes the color of an Item's name based on hex code.

Kill Save Item

* Saves a player from death when killed.

Two-Handed Item

* Makes an Item two-handed.

On Kill Effect Item

* Runs code when an entity is killed.

Side note

* Thanks to Homak for *providing* Cube & Quad renderers! * Textures for the Sun, Earth, and star background sourced from SolarSystemScope. * A guide to all of the library's usage is provided in the documentation * Easing utilities derived from LodestoneLib.

ADS