User:Erufailon4/sandbox/Tutorials/Creating skin packs

From Minecraft Wiki
Jump to: navigation, search

Tutorials/Creating skin packs[edit]

Iron Pickaxe.png
This page is a work in progress.
Please help in the creation of this article by expanding or improving this page.

Summary[edit]

Getting Started[edit]

Creating a skin pack[edit]

Navigate to where you want to make your skin pack. Create a new folder and name it to whatever your skin pack's name is going to be, and open it.

manifest.json[edit]

First you need to create manifest.json file. Note that you should understand at least some very basic JSON when writing the files of this pack.

Copy-paste the code below to the file. Edit the pack name and description, and especially the UUIDs. Those UUIDs don't really matter, except that they have to be be present, and they have to be different. (You can generate UUIDs here: https://www.uuidgenerator.net/version4) Then save the file – make sure that the file extension is .json!

{

 "header": {
   "name": "YourSkinPack'sName",
   "description" : "WriteWhateverYouWantHere",
   "version": [1, 0, 0],
   "uuid": "TheUUIDForThisPack"
 },
 "modules": [
   {
     "version": [1, 0, 0],
     "type": "skin_pack",
     "uuid": "AnotherUUIDForThisPack"
   }
 ],
 "format_version": 1

}

The skins[edit]

Now it's time to add the skins themselves! In this tutorial we are using the two default skins of Minecraft, Steve and Alex, but you can of course use the skins you have made.

Get the .png files of the skins and paste them to the skin pack's folder (where the manifest.json already is). Now, when the skins are in, you need to make the skins.json file so the game knows what the skins' names and types are.

{

 "skins": [
   {
     "localization_name": "Steve",
     "geometry": "geometry.humanoid.custom",
     "texture": "steve.png",
     "type": "free"
   }, 
   {
     "localization_name": "Alex",
     "geometry": "geometry.humanoid.custom",
     "texture": "alex.png",
     "type": "free"
   }
 ],
 "serialize_name": "YourSkinPacksLocName",
 "localization_name": "YourSkinPacksLocName"

}

Note the serialize_name and localization_name – you're going to need them in the next step.

Languages[edit]

Even if you're not going to translate the skin pack, it's important to have the language files because without them the pack name and skin names are not going to look correct in-game.

In the skin pack's folder, create a new folder named "texts" and open it. In there you need to create the languages.json file, which is a very simple and short file as it is just a list of languages. It actually only needs to be one line long, and that line is ["en_US"] (in this tutorial the only language file is going to be English).

Now create a new plain text document into the "texts" folder and name it en_US.txt. Copy-paste the following into that text file and edit it to fit your pack.

skinpack.YourSkinPacksLocName=My Skin Pack
skin.YourSkinPacksLocName.Steve=Steve
skin.YourSkinPacksLocName.Alex=Alex
pack.name=My Skin Pack
pack.description=My skin pack's description

Save the file and rename it to en_US.lang. You can also add more languages using that template, just remember to add them to the list in languages.json.

Testing[edit]

When everything is done (the folder should look something like this), pack the skin pack's folder to a zip file, remember to change the .zip extension to .mcpack. Then move it to the skin packs folder:

  • Windows 10: AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\skin_packs
  • Android: /sdcard/games/com.mojang/skin_packs
  • iOS: Apps/com.mojang.minecraftpe/Documents/games/com.mojang/skin_packs

[1]

Then start Minecraft. If everything went right, the skin pack should be in the skin picker. If not, check the files and make sure you have not made any kind of mistakes.


References[edit]