← Назад к ресурсам

SkinShifter

Change your Skin!

Modrinth utility

Описание

[![Patreon](https://img.shields.io/badge/Patreon-F96854?style=for-the-badge&logo=patreon&logoColor=white)](https://patreon.com/ToCraft) # 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: ~~~java 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: ~~~java class Test { public static void initialize() { SkinShifter.CONFIG.changeCape = true; SkinShifter.CONFIG.changeNameTag = 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.