How Do I Make a Custom Texture Pack For Minecraft? (16x16)
I've been toying with the idea of creating a custom texture pack for Minecraft, just to see how successful I'll be at it. Problem is, I have no idea how to go about doing this.
Where do I begin, what steps do I take, and what do I do once I'm finished?
Minecraft 1.5 made significant changes to how texture packs work. Mainly it allowed for almost any block or item to be animated, separated item sprites and block textures into individual files, and allowed for default textures or sprites to be automatically used when a texture pack lacks them.
The best way to start creating a texture pack is to extract all of the default textures and various UI images from minecraft.jar
. In Windows, this is found at %appdata%\.minecraft\bin
, in Linux it's at /.minecraft/bin
and in OS X it's found at ~/Library/Application Support/minecraft/bin
. Once you've found it you can extract its contents using an app like WinRAR, 7zip, The Unarchiver, etc.
Alternatively you can download someone else's texture pack and edit what's already in there.
The relevant files and directories in minecraft.jar
are:
/achievement
contains the achievements screen GUI/armor
contains images for all of the various armor in the game/art
contains images of the various paintings in the game/environment
contains images for the sun, moon, snow, rain and clouds/font
contains images for the font used in all text in the game/gui
contains stuff like the menu background and various inventory screens and GUIs/item
contains textures for boat, mine cart, and chest models and a few more things/misc
contains various stuff like the map background, beacon textures, explosion particles, etc./mob
contains textures for the friendly & hostile mobs in the game/title
contains the main title, Mojang logo and some other stuff. In thebg
folder are images that are used to create the panorama background in the main title screenpack.png
: the thumbnail that shows up next to your pack in-game in the texture packs listpack.txt
: optional, lets you add a short description that shows up in the texture packs listparticles.png
: contains images for various particles used in the game, like fireworks and hearts/textures/items
contains sprites for all of the items in the game, each as individual files/textures/blocks
contains textures for all of the blocks in the game, again as individual files
To make your own texture pack, you just copy whichever images you want to change into your own folder (the name of the folder becomes the name of your texture pack in the texture pack screen), keeping intact the file names & folder structures. Then just edit them however you want, but keep them at the original resolution (also keep the format as png
). Any texture files that are missing from your folder will simply be replaced with the default files once the game is running.
Making textures or sprites animated is a little more tricky, but this post explains the process nicely.
To test your texture pack you will want to put your folder in the texturepacks
folder, which you can get to by going to Options... > Texture Packs > Open texture pack folder
. Once that's done, your texture pack will show up in the texture packs list, and you can select it.
Once your folder is in the right place you can easily test your textures in-game as you change them by pressing T + F3 (this reloads the currently selected texture pack).
Finally if you want to share your texture pack with others, you can either give them the folder or you can compress everything inside into a zip file. Then others can simply place the folder or zip file into their texturepacks
directory.
Texture packs are stored in the texturepacks
folder of your minecraft
directory. The easiest way to make your first texture pack would be to download one (or clone one you already have), and modify it.
The most important part of a texture pack is the terrain.png
file, where the block appearances are stored. The reason it's easier to modify an existing pack is because all the blocks are tiled in this one .png
file, and you can easily tell which block is supposed to go where when using an existing file. Open the file in your favourite image editing program, and draw blocks to your heart's content.
Once you feel good about that, you can edit the files in the terrain
directory (which houses the sun and the moon), the gui
folder (containing the inventory, crafting bench and furnace backgrounds and more), the mob
folder (where you can edit the appearances of all the mobs), and all the other folders.
Here is ShortStuf7's Clean Design Pack (my personal favourite), in case an example pack is needed.
Edit: It seems the page on the Texture Packs page on the Minecraft Wiki has a nice graphic where the names of the blocks are overlayed on top of the default texture pack.