CurseForge · Minecraft mod
DGLib
Common code for MsDogGirl's mods. Includes dynamic skin swapping and emissive skin layer APIs.
Quick answer
Which DGLib release matches NeoForge?
DGLib Alpha 1.8-1.21.1 targets 1.21.1 with NeoForge. 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.
The source does not explicitly classify this release as client-only or server-only.
What else does DGLib Alpha 1.8-1.21.1 need?
DGLib Alpha 1.8-1.21.1 on NeoForge. Every mod below is checked against that same setup.
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.8-1.21.1 on NeoForge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use DGLib Alpha 1.8-1.21.1. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.
- 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.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside DGLib Alpha 1.8-1.21.1. It opens that exact file at the source.
About this project
What does DGLib add?
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 three APIs included, SkinSwapper and SkinGlowLayer, and ColorPicker, 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. There are also methods for a tinted overlay.
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.
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.
Feature - ColorPicker API (For Developers)
This is a basic UI with a color wheel and tabs. You can use the color wheel widget in your own UIs.
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.
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.20.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
DGLib versions and loaders
DGLib Alpha 1.8-1.21.1
dglib-1.8a-1.21.1.jar
30 Nov 2026
Looking for an older file? The official CurseForge project page is in Resources.