DGLib

Quick rating

DGLib

No reviews yet

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

No Theme
No Genre
QoL & Tweaks
API/Library
Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Optional

About

Project Details

Type
Mod
License
Creative Commons Attribution Non Commercial Share Alike 4.0 International
Latest Version
DGLib Alpha 1.5
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

About

Description

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…

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...

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~39,000
Total Downloads
CurseForge
~34,000
Modrinth
~4,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works