The Fence Unleashed
With The Fence Unleashed installed, leashed mobs no longer slip through fence gates in the way vanilla logic allows, and the mod's algorithm decides when a gate passes an entity.
What it does
The mod targets one specific case: a mob held on a leash passing through a fence gate. It modifies the vanilla fence gate logic so that an entity held by a leash is stopped, and it uses an algorithmic check to decide whether a particular entity passes a gate. Because the change works at the level of the gate logic rather than a fixed list of blocks, it can reach many custom fence gates added by other mods, although some mobs handled by other mods may be inferred incorrectly.
The behavior can be tuned through a configuration file that adjusts the mod's algorithm, so a modpack can match its own rules. The mod does not require the leash check to be correct in every other mod, so mods that implement the required checks correctly work with it. Installation needs Forge or NeoForge, and the environment is client and server, so the server and every player need the mod. Files are published for Forge and NeoForge across 24 release versions, 1.19.2 – 26.3, and the mod is not open source; it is released under a custom license.
Key features
Leashed mobs stopped at gates
Mobs held on a leash are prevented from passing through fence gates, the one scenario the mod is built around.
Algorithmic pass-through check
Whether an entity can pass a gate is decided by an algorithm, which corrects behavior that some mobs from other mods had been inferred incorrectly.
Broad gate compatibility
The generic implementation covers custom fence gates from other mods, not only the vanilla blocks.
Adjustable configuration
A settings file in the config folder lets the algorithm be tweaked to match a modpack.
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x11 of 11 versions with builds
1.20.x5 of 5 versions with builds
1.19.x3 of 3 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Double Doors is a server-side only option released under All rights reserved, with files for Fabric, Forge, NeoForge and Quilt across 1.16.5 – 26.3, and it changes doors rather than gates. Better Wood Crafting is a client and server mod under the MIT License for Forge and NeoForge, covering 1.20.1 – 1.21.1, and it is not open source either.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| The Fence Unleashed | Forge and NeoForge | 1.19.2 – 26.3 | Client and server | 2026-10-03 |
| Double Doors | Fabric, Forge, NeoForge and Quilt | 1.16.5 – 26.3 | Server-side only | 2026-10-02 |
| Better Wood Crafting | Forge and NeoForge | 1.20.1 – 1.21.1 | Client and server | 2025-08-09 |
Questions
Does The Fence Unleashed need to be installed on both sides?
Which loaders does the mod support?
Can the behavior be changed without code?
In the catalog
The Fence Unleashed is one of 29,952 Game mechanics mods on ModsFinder, and one of 13,316 Game mechanics mods for Forge. 8,071 mods support Minecraft 26.3.
More from TheMrMilchmann
Similar mods
What the author says
Have you ever been annoyed by that one cow that just didn't want to stay in its pen and managed to get out just before you could close the fence gate? The Fence Unleashed is a small QoL mod that helps in exactly this scenario by preventing mobs that are not leashed from passing through fence gates. The mod uses an…
Official listing
- Modrinth page
- modrinth.com/mod/fency
- Owner
- TheMrMilchmann
- Published
- 2022-11-20
- Updated on Modrinth
- 2026-10-03
- Facts verified
- 2026-10-15
