MinecraftForge/MinecraftForge — pull request #792 by Eurymachus (2013-09-20 02:26:18+00:00)
Title: Added PlayerOpenContainerEvent and added ForgeHooks.canInteractWith

- Used to override the canInteractWith during player tick
- Event can be cancelled to DENY and force close the Container
- Use allowInteraction() to force Container to stay open/accessible
- Defaults to Vanilla behaviour in any other instance.

Required for LittleBlocks Mod and to Assist Gullivers Mod