terrain.png
terrain.png was a texture atlas found inside minecraft.jar. It was used to store the game's block and fluid textures, the block breaking animation, and some items. It has been superseded with minecraft_textures_atlas_.pngs, obtainable in the screenshots folder upon doing F3 + S in modern versions.
terrain.png is a fixed-width 256×256-pixel file that is split into different 16×16 squares which correspond to the texture for each block found in-game.
Before the introduction of texture packs, terrain.png had to be manually edited or replaced in order to change any textures found in-game. The file would have to be placed inside an edited minecraft.jar file in order to work.
Complete article available
This cached Wiki page is unusually large, so it is loaded on demand to keep the initial page fast.