Leash Fences icon

Leash Fences

Easily connect fences using leads - Useful for creating power lines and other things!

Minecraft datapack by Jodek

Downloads
16,962
Minecraft
Java 1.21.6 - 26.3
Updated
November 4, 2026
License
MIT License

Available as: Datapack, Fabric mod, Forge mod, NeoForge mod, Quilt mod, Paper plugin, Purpur plugin

minecraft datapack leash fences power lines minecraft mod

jodeks datapacks discord   datapacks jodek youtube   killer bunny name tag minecraft datapack codeberg issues   jodeks datapacks kofi

How it works

1. Sneak and right click with a lead on a fence

2. Attach the lead on any other fence

https://assets.jodek.dev/gif/leash_fences_1.gif

Compatibility

There's currently a minecraft bug (since 1.21.6) where the leash breaks if its stretched over a chunk border and a player dies within the chunk of the leashed entity (which is at the fence post you first connected the leash to)

https://report.bugs.mojang.com/servicedesk/customer/portal/2/MC-300654

 

jodek datapack suggestions

 

General questions

Which Minecraft versions does Leash Fences support?
Leash Fences supports Minecraft Java Edition 1.21.6 - 26.3. It does not work on Bedrock Edition.
Do I need Fabric or Forge for Leash Fences?
No. Leash Fences is a datapack, so it works in vanilla Minecraft without any mod loader. If you prefer, it is also available as a mod for Fabric, Forge, NeoForge and Quilt and a plugin for Paper and Purpur.
Does Leash Fences work on servers and in multiplayer?
Yes. Datapacks run on the server, so it works in singleplayer, on multiplayer servers and in LAN worlds. Players do not need to install anything.
How do I install the Leash Fences datapack?
Download the datapack zip from Modrinth or CurseForge, put it into the datapacks folder of your world (saves/<world>/datapacks), then run /reload or restart the world. For a new world, you can also add it on the Data Packs screen while creating the world.
Is Leash Fences free?
Yes. Leash Fences is free and open source under the MIT License. The source code is on Codeberg.

More datapacks by Jodek

Pick & download datapacks →

Have an idea for another datapack? Suggest a datapack