ContainerFix
Modby Tschipp
ContainerFix fixes a common issue with Containers not closing properly
Type
Mod
CurseForge Downloads
2,696,532
CurseForge ID
290240
Last Updated
Jun 11, 2026
Description
ContainerFix fixes a common issue with many mods that doesn't close
the Gui of a Container, even if that container is destroyed or removed somehow.

This mod is supposed to be used in conjunction with other mods.
This bug was discovered by Darkosto.
For modders:
If you want to fix this issue for your mod, override Container#canInteractWith. In there, you would do a check if the TileEntity of the container still exists in the world, and if the player is close enough to the Block. This would mimic vanilla behavior.
Example:
@Override
public boolean canInteractWith(EntityPlayer player)
{
return te.world.getTileEntity(te.getPos()) == te && player.getDistanceSq(te.pos.add(0.5, 0.5, 0.5)) <= 64;
}
Similar Mods
Binnie's Mods
Various expansions for Forestry adding new bees and trees
Additional Lights
All 8 types, 2 types fire, Over 200 variations.
Wall-Jump! [FORGE]
Jump from wall to wall! Wall jump, double jump, speed jump, fence jump, etc.
Glassential Renewed
Various types of glass to aid in your building. Updated to new MC.
FastQuit
Lets you return to the Title Screen early while your world is still saving in the background!
[ANGRY PIXEL] The Betweenlands
Introducing the Betweenlands, a dark and hostile environment...