Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
A simple server-side Fabric mod for 1.16+ to improve the interaction between fence gates and walls.
Normally, fence gates that connect to walls have their model visually shifted down three pixels to fit better. However, if there's a line of three or more fence gates, it doesn't adjust the ones in the middle. This mod takes a simple approach by counting other fence gates which have the in_wall tag as walls for this fence gate model change detection.
| Before | After |
|---|---|
![]() |
![]() |
As a side effect, it's possible to create standalone rows of 2+ fence gates which have this downward shift but aren't connected to any walls, if you wanted to do so.
This mod only needs to be installed on the server. If installed on the client, it will avoid a short stutter when placing fence gates in the relevant configuration as the client thinks it's in the wrong state before the server updates it. Conversely, if it's only installed on the client, there will be a stutter as the client thinks it should go in the in_wall state before the server corrects it, which will also happen when one of the neighboring fence gates is opened or closed. These are only temporary visual issues and the presence or absence of the mod on the client will not affect functionality in any way.




