MinecraftForge/MinecraftForge — pull request #1004 by sfPlayer1 (2014-03-19 15:02:15+00:00)
Title: Add an ItemStack sensitive version of Item.getItemAttributeModifiers().

This allows for example evaluating the NBT while generating the attribute map.