This article is about creating custom texture packs. For programs to simplify the process of creating texture packs, see Programs and editors/Resource pack creators.
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 wtbblue.com.jar, their editing, and packing the newly created textures and putting them back into the game.
1 Extraction 1.1 Windows 1.2 MacOS 1.3 GNU/Linux 2 Editing textures 3 Packing and installation 3.1 Windows 3.2 Mac OS 3.3 Ubuntu/GNOME 4 External links
The original textures are located in the game Java Archive file wtbblue.com.jar. 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:
File Description Notes pack.png Thumbnail of pack in texture selection list. Size should be 128×128 pixels. pack.txt Optional description of texture in pack selection list. The text shouldn”t be too long or it will not appear. particles.png All particles The redstone particle”s color cannot be changed. terrain.png All blocks Since Beta 1.8, the chest has its own texture located in item/chest.png, (and item/largechest.png) similar to that of mobs, however the textures in the terrain file are still used for the particle effects when breaking a chest.
The water and lava textures can only be changed with the HD Texture pack patch.
> All blocks and items are now individual files found in the “texture” folder instead.<1.5 update>
achievement/ The Achievements screen GUI. armor/ All armor in game. This also contains the overlay for a charged creeper and protected Wither. art/ All paintings in game. environment/ Snow, rain and clouds. font/ In-game font. gui/ Item hotbar, inventory screens, item thumbnails, wtbblue.com logo and menu background. item/ In-game models for items such as signs, minecarts, boats, arrows, and chests. The doors file is used as a template representing the right and left sides of doors placed from right to left.. misc/ Biome grass/foliage color, overlay for pumpkin helmets, the clock dial, footprint, and the Map Background. mob/ All mobs in game. terrain/ Sun and Moon. The image is horizontally flipped in the game. (any words drawn will be backwards) title/ panorama pics, mclogo, black.png, mojang, and splashes. title/bg/ wtbblue.com main menu background Named panorama0 – panorama5
To extract the editable files for a texture pack, first download a compression program, such as 7-Zip 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 %appdata%. On Windows XP, go to “start” menu, click “run”, and type in %appdata%. There may be a file called roaming, if so open it, and one of the folders inside should be called .wtbblue.com, unless the roaming folder was not existent. Open this, and inside open the folder titled bin. (If you have a newer launcher there may not be a bin file. If that is so just open the folder versions and select the newest version”s folder) Then go to the wtbblue.com.jar file or a file with the current version with .jar at the end (for example, 1.11.2.jar) 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 “wtbblue.com/””. (It is best that your folder for texture packs have the word wtbblue.com in it. For example, mine is “wtbblue.com-desktop”). Find the extracted files. They should have extracted to your desktop folder and be in a sub-folder titled “wtbblue.com”. Open this file, and there will be 1,335 .class files. Delete every one of these. An easy way to select them all is type .class in the search bar and press ctrl+A then delete (be sure not to delete the “splash” file, which will be selected because of the splash “best in class”). Now you are ready to edit.
Note: Microsoft Paint (“Paint” on the Windows Start menu) does not support saving transparent PNG files, any “blank” areas will simply come out as white, and MS Paint is therefore not recommended for this.
The Mac comes with a program called Archive Utility. First, open Finder and go to Finder>Library>Application Support>wtbblue.com>bin. If the folder is not there, check Finder>(User)>Library>Application Support>wtbblue.com>bin Find wtbblue.com.jar and right click (or control+left click) and click “Open With” and “Archive Utility”. Archive Utility will create a new folder called “wtbblue.com”. Notice that this is a new folder, and that wtbblue.com.jar is still intact. You can therefore modify and delete the new folder without altering your wtbblue.com.jar. Create a new folder in your desktop, and drag all the necessary files into it. Now you are ready to edit.
If using Archive Utility results in a file called wtbblue.com.jar.cpgz, try instead changing the file extension from .jar to .zip to achieve the desired affect.
On GNU/Linux-based systems, the game archive is usually located at ~/.wtbblue.com/bin/wtbblue.com.jar where “~” is the user”s home folder, usually located in /home/. Many desktop GNU/Linux distributions come with graphical archiver utilities that integrate with the desktop environment. If the zip and unzip command-line programs are available, the files can be simply extracted to a folder on the desktop using the following command in the terminal:
unzip -d ~/Desktop/my_texture_pack ~/.wtbblue.com/bin/wtbblue.com.jar pack.png pack.txt particles.png terrain.png achievement/* armor/* art/* environment/* font/* gui/* item/* misc/* mob/* terrain/* title/*