The Fence Unleashed
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 algorithmic approach to determine if an entity may pass through a fence gate and changes the behavior accordingly.
The Fence Unleashed's generic implementation makes the mod compatible with many
custom fence gates and mobs. However, the behavior for some mobs from other mods
may be inferred incorrectly. For this case, the mod provides a configuration
file (the-fence-unleashed.toml
in the config
folder) which can be used to
tweak the mod's algorithm as needed.
Frequently Asked Questions
(Just kidding, we just released this. No one has asked for or about this.)
Why is this mod called "The Fence Unleashed" when it actually improves fence gates?
Excellent question! Did you ever come up with a pun about fence gates? No? Yeah, I didn't either. That's pretty much it... so I guess I'll add another random fact here: The initial name for this mod was "Fency" (and this name is still used internally) but it had to be changed for technical reasons.
Is The Fence Unleashed compatible with fence gates added by other mods?
The Fence Unleashed modifies vanilla fence gate logic to be compatible with all sorts of fence gates. Thus, it is very likely, but not guaranteed that it will work with fence gates from other mods too.
Can I use The Fence Unleashed in my modpack?
Yes, please respect the license terms.
Can I use this mod with existing saves?
Yes, The Fence Unleashed does not affect savegames. It can be added or removed at any time.
Mob X from mod Y behaves weirdly with The Fence Unleashed. Is there anything I can do about this?
While The Fence Unleashed can usually correctly identify whether a mob can be leashed and adjusts the behavior accordingly, some mods do not correctly implement the required checks. To make sure that this gets fixed properly, please file an issue. You do not have to wait for a fix, however. Fortunately, The Fence Unleashed provides a configuration file in which its behavior can be adjusted.