Mineuniverse
Log in Register
Mods

ContainerFix

ContainerFix fixes a common issue with Containers not closing properly
by Tschipp
Download Claim this project
2,702,512 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Miscellaneous

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;
}

 

ContainerFix MC1.13.2 v1.0
MC 1.13.2
Release 2019-04-20 Get

More from Tschipp

Primitive Crafting
9,799,519
Builder's Bag - ProjectE Addon
68,192
Status Tags
5,777
Builder's Bag
515,520
Creative Plus
476,232
Barkifier
466,253

You Might Also Like

LoadingTips
A mod that adds custom tips to the loading screen
999,218
Sampler
Performance oriented debugging/administration tools
998,926
VulkanMod
Vulkan renderer mod for Minecraft.
997,115
Charm Fixer
Disables some modules on charm to fix incompatbility issues with owo
996,251
Trading station
Basic items to item trading machines
99,755
NarrateBookForMe [FABRIC]
Adds a narration keybind, and two GUI buttons to the book screen. Text-to-speech (tts) / narration on the go! Client sided.
99,734