UniLib

# UniLib

A common set of Utilities, designed for over 50 versions of Minecraft!

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/5930b7c5fe5c4477ac53500d06705e06)](https://app.codacy.com/gl/CDAGaming/UniLib/dashboard?utm_source=gl&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![Pipeline Status](https://github.com/CDAGaming/UniLib-Mirror/actions/workflows/build.yml/badge.svg?branch=main)](https://gitlab.com/CDAGaming/UniLib/commits/main)

[![CurseForge-Downloads](https://cf.way2muchnoise.eu/full_unilib_downloads.svg)](https://www.curseforge.com/minecraft/mc-mods/unilib)
[![CurseForge-Availability](https://cf.way2muchnoise.eu/versions/unilib.svg)](https://www.curseforge.com/minecraft/mc-mods/unilib)

[![Modrinth-Downloads](https://img.shields.io/modrinth/dt/nT86WUER)](https://modrinth.com/mod/unilib)
[![Modrinth-Availability](https://img.shields.io/modrinth/game-versions/nT86WUER)](https://modrinth.com/mod/unilib)

## General Notes

* This mod identifies as a **Client Side-only** mod
* This means it **will not run** on the Server’s side.
* Fabric and Quilt mod loaders will simply ignore the
mod, while other mod loaders may crash.
* Some versions of the mod for Minecraft 1.14.x and above require
the [Fabric API](https://modrinth.com/mod/fabric-api)
and the [Fabric mod loader](https://fabricmc.net/use/installer)
* Some versions of the mod for Minecraft 1.13.x require
the [Rift API](https://www.curseforge.com/minecraft/mc-mods/rift)
and the [Rift mod loader](https://github.com/DimensionalDevelopment/Rift/releases)
* Some versions of the mod for Minecraft 1.1.0 and below
require [Risugami’s ModLoader](https://mcarchive.net/mods/modloader)

## Features

This library mod offers various API utilities that have been developed over the years,
initially part of [CraftPresence](https://gitlab.com/CDAGaming/CraftPresence),
that have been designed to work on over 50 versions of Minecraft, from the earliest Alphas to the latest Releases.

These APIs range from utilities that can help with Rendering/UI design, Update Checker and Translation ease-of-access,
as well as the APIs provided through the sibling-project, [UniCore](https://github.com/CDAGaming/UniCore)

## Disclaimers & Additional Info

### Minecraft Issues + Additional Build Info

Despite best efforts, issues can occur due to the state of the Minecraft Codebase.

These issues can hinder certain portions of the backend in addition to cause certain parts of the mod to not work.

With this in mind, please note the following:

* **Minecraft 1.16 and above**
* As more parts of the game become data-driven, some modded data is no longer able to be automatically retrieved
without first being in the world.
* **Minecraft 1.15 and below**
* `MC-112292`: When interacting with the `RenderUtils#drawItemStack` method, used in the v2 Item Renderer, blocks
using certain renderers may fail to display properly.
* Additionally, on 1.15.x exclusively, z-level issues may occur on Screens using this method
* **Miscellaneous Issues**
* Due to obfuscation issues in earlier versions of Minecraft, incorrect data may appear when using certain parts of
the mod.

Additionally, some settings or API calls may perform differently under certain MC versions.

### Support

Need some assistance with one of my mods or wish to provide feedback?

I can be contacted via the following methods:

* [Email](mailto:[email protected])
* [CurseForge](https://www.curseforge.com/minecraft/mc-mods/unilib)
* [Discord :: ![Discord Chat](https://img.shields.io/discord/455206084907368457.svg)](https://discord.com/invite/BdKkbpP)

Additionally, codebase documentation for this mod is
available [here](https://cdagaming.gitlab.io/unilib-documentation/) with further guides available
on [the wiki](https://gitlab.com/CDAGaming/UniLib/-/wikis/Home)

#### Licensing

This Mod is under the MIT License as well as the Apache 2.0 License

This project currently makes usage of the following dependencies internally:

* [UniCore](https://github.com/CDAGaming/UniCore) by [CDAGaming](https://github.com/CDAGaming)
* [Classgraph](https://github.com/classgraph/classgraph) by [lukehutch](https://github.com/lukehutch)
* [Lenni Reflect](https://github.com/Lenni0451/Reflect) by [Lenni0451](https://github.com/Lenni0451)

Undistract music toast

Changes [the newly added](https://www.minecraft.net/en-us/article/minecraft-snapshot-25w20a) music toasts as follows:

– Removes the toast background
– The notes icon will not animate (move)

Does not change the following:

– The text will still animate in when the song changes
– The notes icon will change color automatically
– The notes icon will use the texture of your resource pack

How to use:
1. Run Minecraft 1.21.6 or later
2. Options… -> Music & Sounds… -> set Show Music Toast to ON
3. Done -> Resource Packs… -> enable Undistract music toast -> Done
4. You may already see the effect, otherwise join any world to see it

Underwater Swim Fix (MC-220390)

Fixes [MC-220390](https://bugs.mojang.com/browse/MC/issues/MC-220390) a bug where if you hit an entity while swimming and holding the sprint hotkey, the hitboxes server and clientside will be different. Resulting in weird behaviour where the client thinks that theyre swimming while the server doesnt think that. So when you for example try to go into a 1×1 block space while experiencing this bug, you will glitch out until you stop swimming and swim again.

The bug really annoyed me in monuments so I fixed it.

Join the [Discord!](https://discord.gg/p6ShJPq98d) You can ask for help, a mod, just suggest something, hangout or request the source code of any mod I have made (if I still have the source code)

Or donate to my [Kofi](https://ko-fi.com/bikerboys) incase you are feeling generous!

U.P.E. Addon – Neither Portal

![Title](https://cdn.modrinth.com/data/cached_images/8d24773cd616a098431f372a3beb502790e6dd94.png)

Adds a visual effect to the portal in the style of the portals from the snapshot 20w14infinite.
Simply dye and rename one of the pieces of leather armor using any dye, and your portal will become colored.
For proper operation on versions BELOW 1.21.5, a mod implementing CIT (Custom Item Textures) is required.
For versions ABOVE 1.21.5+, no modifications are required (except perhaps the U.P.E. Addon – Connector Ultima, if you want to play with multiple addons).

U.P.E. Addon – Jeb_ Portal

![Title](https://cdn.modrinth.com/data/cached_images/456a5b29ace6d900d894abcd8a43e239dd54d91e.png)

Adds a visual effect to the portal in the style of the renamed sheep jeb_ .
Simply rename one of the pieces of leather armor, and your portal will shimmer with the colors of a “jeb_” sheep.
For proper operation on versions BELOW 1.21.5, a mod implementing CIT (Custom Item Textures) is required.
For versions ABOVE 1.21.5+, no modifications are required (except perhaps the U.P.E. Addon – Connector Ultima, if you want to play with multiple addons).

U.P.E. Addon – Connector Ultima

![Title](https://cdn.modrinth.com/data/cached_images/598989f71b68ce22986ba4e35eedcfb2903c5e64.png)
U.P.E. – Connector Ultima.
This connector is required to ensure that add-ons for the Unreal Portal Engine are compatible with one another. This connector was created due to the priority order of resource packs within Minecraft. Because of this priority, only one add-on can be loaded alongside the Unreal Portal Engine.
To add compatibility between your add-on and other add-ons, please submit a request here – https://discord.gg/BHEjGaVX83

TXT Vksel

PL:
Chcesz, żeby Twoje PvP wyglądało jak z innego świata? Ten pack to nie jest zwykły „dodatek” – to kompletna broń dla każdego, kto lubi ostre starcia, szybkie kill’e i wygląd, który wbija w ziemię przeciwników jeszcze zanim ich trafisz.

🔥 Co dokładnie dostajesz?

✅ Set itemów zoptymalizowany pod PvP
Ponad 20 nowych i przerobionych itemów – większość stworzona z myślą o walce.
Są tu customowe miecze, kilofy itd.

✅ DURABILITY SET – system, którego nie ma nikt inny
To jest killer feature tego packa.
Cały zestaw pancerza. Wystarczy zainstalować darmowy mod Variant-CIT.

✅ Customowe tekstury bloków.

Dlaczego gracze już szaleją na tym packu?

Zero lagów (zoptymalizowany pod PvP serwery).
Idealny dla Crystal PvP, SkyWars, BedWars, Sumo, HCF, Practice i wszystkich trybów 1.8 / 1.16+
Wyglądasz jak pro, zanim jeszcze klikniesz LPM.
Durability set + Variant-CIT = efekt „wow” za każdym razem gdy item się zużywa.
Kompatybilny z OptiFine, Sodium, Iris, Badlion, Lunar, Feather i wszystkimi popularnymi klientami.

ENG:
Want your PvP experience to be out of this world? This pack isn’t just an “add-on”—it’s a complete weapon for anyone who enjoys intense combat, quick kills, and a look that impales enemies before they even land a hit.

🔥 What exactly do you get?

✅ PvP-optimized item set
Over 20 new and reworked items—most designed with combat in mind.

There are custom swords, pickaxes, and more.

✅ DURABILITY SET—a system unlike any other
This pack’s killer feature.

The complete armor set. Just install the free Variant-CIT mod.

✅ Custom block textures.

Why are players already raving about this pack?

Zero lag (optimized for PvP servers).

Perfect for Crystal PvP, SkyWars, BedWars, Sumo, HCF, Practice, and all 1.16+ modes.
Look like a pro before you even left-click.
Durability set + Variant-CIT = a “wow” effect every time an item is used.
Compatible with OptiFine, Sodium, Iris, Badlion, Lunar, Feather, and all popular clients.

TrustMeBro – Bundle

TrustMeBro – Bundle brings the funniest and most ridiculous features inspired by the r/shittymcsuggestions community straight to your Minecraft server. Enable or disable each challenge with simple commands and enjoy chaotic, meme-worthy gameplay with your friends. Perfect for streamers, community servers, or anyone looking to spice up their Minecraft experience with unexpected twists!

– Features / Commands:

– /extremebabyzombie on|off — Toggle if baby zombies are extreme
– /shearmobs on|off — Toggle if you can shear: Villagers, Endermen, Spiders, Striders
– /breadrename on|off — Toggle bread rename (to “Raw Toast”) and potatoes to “Raw Potatoes”
– /powderwater on|off — Toggle if powder dissolves in water
– /nearmobsbecomeinvis on|off — Toggle if near mobs become invisible
– /moss on|off — Toggle if moss duplicates in your inventory and if moss is edible
– /sunblind on|off — Toggle if you could be blinded by looking directly at the sun
– /trowabledragonegg on|off — Toggle if you can throw the dragon egg, like an normal egg, to spawn the ender dragon
– /hotsand on|off — Toggle whether you take damage while sneaking on sand.
– /throwingsnowballvillager on|off — Toggle if you become a really cool advancement if you throw a snowball against a villager.

CODE MADE BY ME!

Keywords:
minecraft, plugin, fun, meme, r/shittymcsuggestions, challenge, bundle, chaos, minigame, server, dumb ideas, community, gameplay, commands

OverGrown Tools

OverGrown Tools — A nature-themed resource pack that reclaims your gear for the forest. Every tool and weapon is now entwined with lush leaves, vines, and crawling ivy.

Features:

Complete overhaul of all material tiers: from Wood to Netherite.

Netherite gear is wrapped in glowing Warped vines from the Nether.

Perfect for “Lost Civilization”, “Ancient”, or “Druid” playstyles.

Supported versions: 1.16 through 1.21.11.

No Armor Trims

**Remove Armor Trims** is texture pack designed to remove all armor trims from Minecraft.

## Before
![Berfore](https://cdn.modrinth.com/data/7GTKOhob/images/5ca3164c415cd0f04c8af03a89ef0c742c957f36.png)

## After
![After](https://cdn.modrinth.com/data/7GTKOhob/images/ac9e33599f96732d237fdec5ffdcb771b019633d.png)