MinecraftForge/MinecraftForge — pull request #851 by ganymedes01 (2013-11-09 00:40:42+00:00)
Title: Gives access to the container that was open

So that you'd be able to choose what to do according to the type of container (for example, allow the player to open chests but not brewing stands, for whatever reason)