Tutorials/Custom texture packs

The purpose of this article is to teach you how to create a custom texture pack. It focuses on the extraction of appropriate files from the game Java Archive, their editing, and packing the newly created textures and putting them back into the game. For a list of completed community texture packs, see the article on Texture Packs.

Extraction
The original textures are located in the game Java Archive file. Any zip archiver should be able to extract files from it as the Java Archive format is just a subset of the common zip format. Exact procedure for locating the game archive and extracting the files from it varies by operating system. Below is a list of files and subfolders of interest while creating a new texture pack:

Windows
To extract the editable files for a texture pack, first download a compression program, such as WinZip or WinRAR, and make a folder on your desktop for texture pack storage. For Windows Vista/7, go to the "start" menu on your desktop and do a search for. On Windows XP, go to "start" menu, click "run", and type in. There should be a file called, Open it, and one of the folders inside should be called. Open this, and inside open the folder titled. Then go to the  file and right click on it. In the menu of options should be either "7-zip" or "WinRAR". Follow the arrow from that option to the menu of actions, and choose "Extract to 'minecraft/'". (It is best that your folder for texture packs have the word minecraft in it. For example, mine is "minecraft-desktop"). Find the extracted files. They should have extracted to your desktop folder and be in a sub-folder titled "minecraft". Open this file, and there will be 1,029 .class files. Delete every one of these. Now you are ready to edit.

Mac OS
The Mac comes with a program called Archive Utility. First, open Finder and go to Finder>Library>Application Support>minecraft>bin. Find  and right click (or control+left click) and click "Open With" and "Archive Utility". Archive Utility will create a new folder called "minecraft". Notice that this is a new folder, and that minecraft.jar is still intact. You can therefore modify and delete the new folder without altering your. Create a new folder in your desktop, and drag all the necessary files into it. Now you are ready to edit.

GNU/Linux
On GNU/Linux-based systems, the game archive is usually located at  where "~" is the user's home folder, usually located in. Many desktop GNU/Linux distributions come with graphical archiver utilities that integrate with the desktop environment. If the  and   command-line programs are available, the files can be simply extracted to a folder on the desktop using the following command in the terminal:

Editing textures


The textures are in the Portable Network Graphics (PNG) format and can be edited with any image editing program that can handle the format including transparency. The free and open-source GNU Image Manipulation Program (GIMP) is suitable for this and is available on many platforms. Edit each PNG file as desired and save the them with 32-bit color depth to preserve transparency.

Packing and installation
Once you are done editing, create a zip file of the files modified, preserving all folder hierarchy. The root folder of the zip must have the files and folders listed below, or else they will not be changed. If you find that nothing changes when you select your texture pack, make sure that the files are in the root of the zip and not one folder in.

Windows
Select all the files (edited or not) Then choose the 7-zip or WinRAR option after right clicking and select "Add to archive...". The archive will open, and you can name the file. Then hit "OK", and the program will make all the files into a zip archive. To put into minecraft, simply start the launcher, log in, and at the tile screen go to the button "texture packs". In the lower left, click the Open Folder button and drag your ZIP into the folder. Select your texture pack, and view it on your computer.

Mac OS
Highlight all the files in your folder, right click, and click "compress (#) items". A new file called "Archive.zip" should appear. Rename the file to your liking. Go to Finder>Library>Application Support>minecraft>Texture Packs, and drag your .zip in. Now you can use your texture pack by selecting the button "mods and texture packs" in the main menu of minecraft, and clicking on your pack.