
Fence Gate Fix
Simple Fabric mod to fix fence gate connections with walls.
Screenshots

About this Mod
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.
Available Versions
How to Install Fence Gate Fix on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "Fence Gate Fix". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 26.1.1, 26.1 (+35 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Fence Gate Fix server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.
Is Fence Gate Fix compatible with fabric?
Fence Gate Fix officially supports fabric for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Fence Gate Fix – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Fence Gate Fix consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Fence Gate Fix with just one click on your server.

