Skip to content

ToCraft/SkinShifter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d8f0527 · Dec 15, 2024

History

25 Commits
Dec 15, 2024
Aug 2, 2024
Nov 11, 2024
Nov 11, 2024
Nov 11, 2024
Aug 1, 2024
Nov 11, 2024
Dec 13, 2024
Nov 3, 2024
Aug 1, 2024
Nov 11, 2024
Aug 1, 2024
Dec 15, 2024
Aug 7, 2024
Nov 3, 2024
Aug 1, 2024
Aug 1, 2024
Oct 15, 2024
Nov 3, 2024

Repository files navigation

Build Maven metadata URL Patreon

SkinShifter

SkinShifter lets you change your Player Skin in game! (Don't worry- you won't change your actual skin, it just renders differently.)

Getting Started

This mod is intended to be used in modpacks or as library for other mods. You can change your skin by using the command /skinshifter set @s xyz, where xyz is the name or uuid of the player you want to morph into.

If you're a coder, you can use the following methods:

SkinShifter.setSkin(serverPlayer, playerUuidForSkin); // Sets the current skin
SkinShifter.getCurrentSkin(serverPlayer); // returns the UUID of owner of the current skin. Might be the own UUID!

To change config values, you can do the following:

class Test {
    public static void initialize() {
        SkinShifter.CONFIG.changeCape = true;
        SkinShifter.CONFIGchangeNameTag = true;
        // required to save the changes into the config file
        SkinShifter.CONFIG.save();
        // when changing the config after the first player has joined, use:
        // SkinShifter.CONFIG.sendToAllPlayers(serverLevel);
    }
}

License

SkinShifter is licensed under Apache 2.0.

About

Change your Skin!

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages