MinecraftForge/MinecraftForge — pull request #787 by Eurymachus (2013-09-15 20:42:16+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