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);
}
}
If you'd like to support me and the development of my mods, I recommend trying out BisectHosting. Use the code "woodwalkers" to get 25% off your first month of a gaming server for new customers. They offer 24/7 support and lightning-fast response times, ensuring you're in great hands and providing exceptional assistance for all your gaming needs.
License
SkinShifter is licensed under Apache 2.0.