MinecraftForge/MinecraftForge — pull request #1383 by mezz (2014-09-05 05:00:39+00:00)
Title: Use item damage when getting icon.

Fixes an issue where an item with different icons for each meta value will always use the first icon.
For instance, Forestry mushrooms are brown with meta 0 and red with meta 1.
Before this PR, both mushrooms show as brown in the player's inventory and NEI.

This basically changes

getBlockTextureFromSide(1)

which is

getIcon(1, 0)

to

getIcon(1, damage)