Back to mods
DGLib project artwork

CurseForge · Minecraft mod

DGLib

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

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

Quick answer

Which DGLib release should I use?

Updated 7 days ago
Latest stable file DGLib Alpha 1.6
Game version 1.20.1
Loader Forge

DGLib Alpha 1.6 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 DGLib 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 DGLib Alpha 1.6 need?

DGLib Alpha 1.6. 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 DGLib without breaking your instance.

Built for DGLib Alpha 1.6. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use DGLib Alpha 1.6. 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 DGLib Alpha 1.6. It opens that exact file at the source.

About this project

What does DGLib add?

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 it, it needs to be on either Modrinth or CurseForge.

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

Get the first one free here: Seven Systems - Google Play Books

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…

Project description from CurseForge.

Pick your setup

DGLib by Minecraft version and loader

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

1 available setups

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

Recent files

DGLib versions and loaders

7 of 7 releases match

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