MinecraftForge/MinecraftForge — pull request #739 by jk-5 (2013-08-22 11:09:06+00:00)
Title: Added GuiOpenEvent

I've seen mods that override guis by registering an TickHandler and checking which gui is open every tick.
This event can be used for a cleaner way to override an gui, or to cancel it.