DGLib

DGLib

Common code for MsDogGirl's mods. Includes dynamic skin swapping and emissive skin layer APIs.

by
3.6K Downloads
forgelibrary
Rent Server with this Mod

About this Mod

My character in a library. Appropriate.

DGLib - Overview

If you're not a dev, this is another boring library mod. Just install it with the mod that requires it- that's all there is to it.

If you are a dev, then this is a another not-so-boring library mod. It has two APIs included, SkinSwapper and SkinGlowLayer, which I use in my mod Cyberware: Visible Modifications. The names pretty much say what they do.

Feature - SkinSwapper API (For Developers)

You can find all the methods included on the GitHub page. Their function is simple: they swap out parts of the player skin with a skin file you've provided. You can swap out any part of the player's skin like their arms and legs, but leave the rest of their skin untouched.

There are also methods to add transparent overlays to a skin in the same way. For example, this is useful if you're making something like armor and want it to have a bit of a tighter fit without fussing with render layers yourself.

But how does it do this, you ask? Well, it actually fetches the player's skin and makes a compound image to load instead. No render layers involved here, keeping compatibility with other mods at a max.

Feature - SkinGlowLayer API (For Developers)

This works the same as the SkinSwapper, but instead adds emissive pixels to the player skin via a render layer. You just need a transparent image with the pixels you want to glow and use that when you call the methods.

Compatibility (For Developers)

This depends on the you and your use case as a dev.
SkinGlowLayer, however, has some compat built in with Epic Fight. It will turn itself off in fight mode, preventing visual glitches... for the most part.

Modpacks?

If you're publishing the pack, it needs to be on either Modrinth or Curseforge.

Interested in reading sci-fi / fantasy? Check out my books!

Seven Systems - Google Play Books There are links to more platforms and formats on my discord.

In the stars above, an ancient evil stirs.

An artifact of vast power will shake the foundations of the seven star systems inhabited by all living beings. In the coming storm, only those who have lived in its shadow can stand against evil. A group tied together by the threads of fate and prophesy embark on a quest through the vast worlds of The Seven Systems, and fight those who would succumb to the temptation of darkness. The prince. His brother. The twin guards. The thief. The one who changed, and will change. Will they stand together long enough to do what is necessary... or pay the price? Will the worlds see their next sunrise, the dawn of a new age, or will all fall to the forces of evil? As the scales of power tip and swing, the worlds will never be the same.

With the new day, The Seven Systems are cast into the flames...

Available Versions

DGLib Alpha 1.5alpha
MC 1.20.1forge
March 7, 2026
DGLib Alpha 1.4alpha
MC 1.20.1forge
March 7, 2026
DGLib Alpha 1.2alpha
MC 1.20.1forge
March 5, 2026
DGLib Alpha 1.1alpha
MC 1.20.1forge
February 12, 2026
DGLib Alpha 1.0alpha
MC 1.20.1forge
February 2, 2026

How to Install DGLib on Your Server

1

Order Server

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

2

Set forge Loader

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

3

Install Mod

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

Compatibility

Mod Loaders

forge

Minecraft Versions

1.20.1

Server-side

~ Optional

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

DGLib server crashes on startup – what to do?

Most common cause: wrong forge 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.20.1). You can switch loaders with one click in the panel.

Is DGLib compatible with forge?

DGLib officially supports forge for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with DGLib – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if DGLib 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 DGLib 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 Attribution Non Commercial Share Alike 4.0 International
Server-side
Optional

Supported Versions

1.20.1