

The Fence Unleashed

Have you ever experienced that frustrating moment when a cow or other animal manages to slip out of the pen just as you're closing the gate?
The The Fence Unleashed mod solves exactly this problem by preventing mobs without leashes from passing through fence gates. The development uses a special algorithm to determine whether an entity can pass through a gate and adjusts behavior accordingly.
Thanks to universal implementation, the mod is compatible with most custom gates and mobs. However, in some cases, the behavior of mobs from other mods may be determined incorrectly. To address such situations, a configuration file (the-fence-unleashed.toml
in the config
folder) is provided, allowing you to customize the algorithm's operation according to specific needs.

Frequently Asked Questions
(Just kidding, the mod was just released, so there are no questions yet)
Why is the mod called "The Fence Unleashed" if it improves gates?
Excellent question! Coming up with a pun about gates turned out to be a challenging task. Initially, the mod was called "Fency" (this name is still used in the code), but for technical reasons it had to be changed.
Is The Fence Unleashed compatible with gates from other mods?
The mod changes the standard gate logic, so there's a high probability of compatibility with gates from other mods, although there's no 100% guarantee.
Can I use The Fence Unleashed in a modpack?
Yes, provided you comply with the license terms.
Is the mod compatible with existing saves?
Yes, The Fence Unleashed does not affect save files. It can be added or removed at any time.
Mob X from mod Y behaves strangely with The Fence Unleashed. What can be done?
Although the mod usually correctly determines whether a mob can be leashed, some mods incorrectly implement the necessary checks. To fix the problem, it's recommended to create an issue. However, you don't have to wait for a fix - you can configure the behavior yourself through the configuration file.