ContainerFix
1170
Minecraft Mods
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;
}
Download
File Name | Status | Version | Downloads | Date |
---|---|---|---|---|
ContainerFix MC1.12.2 v1.0.jar | release | 1.12.2 | 458,735 | 16/03/2018 |
ContainerFix MC1.13.2 v1.0.jar | release | 1.13.2 | 453 | 20/04/2019 |
ContainerFix 1.20.2 | Updating | 1.20.2 | Updating | Updating |
ContainerFix 1.20.1 | Updating | 1.20.1 | Updating | Updating |
ContainerFix 1.20 | Updating | 1.20 | Updating | Updating |
ContainerFix 1.19.2 | Updating | 1.19.2 | Updating | Updating |
ContainerFix 1.19.1 | Updating | 1.19.1 | Updating | Updating |
ContainerFix 1.19 | Updating | 1.19 | Updating | Updating |
ContainerFix 1.18 | Updating | 1.18 | Updating | Updating |
ContainerFix 1.17.1 | Updating | 1.17.1 | Updating | Updating |
ContainerFix Forge | Updating | Forge | Updating | Updating |
ContainerFix Fabric | Updating | Fabric | Updating | Updating |
![ContainerFix](https://media.forgecdn.net/avatars/thumbnails/146/207/120/120/636568315805096552.png)
Dear youtuber!
Have you a channel youtube and want to bring your Video to quality visitors?
Do you want your video to appear on our website?
Do you want to become partner with us?
Just 3 steps to become our partner:
Step 1: Make video review for mods, addons, plugins, ... which you like
Step 2: Upload this video to youtube and our link to your video description
Step 3: Send the youtube video link via message to http://fb.com/9lifehack or leave a comment in the post. We will add your video in the our post, it will help you have more view.
JOIN to get more youtube view with us!!!!
Have you a channel youtube and want to bring your Video to quality visitors?
Do you want your video to appear on our website?
Do you want to become partner with us?
Just 3 steps to become our partner:
Step 1: Make video review for mods, addons, plugins, ... which you like
Step 2: Upload this video to youtube and our link to your video description
Step 3: Send the youtube video link via message to http://fb.com/9lifehack or leave a comment in the post. We will add your video in the our post, it will help you have more view.
JOIN to get more youtube view with us!!!!