⚠ This Data Pack will NOT be updated beyond 1.21.8. You can check out the mod version I've made here, which does exactly the same thing!
Leash Villager
You can now take Villagers on a leash!
leashed villagers to a fence. I'm actively trying to work on a workaround for this. 📍22/06/2025
📥How to Install
Choose if you want to download the pure Data Pack version or the Mod version and follow the steps accordingly.
Data Pack
- 1) Download the Datapack
- 2) Chose the world you want to install the Data Pack in and navigate to its "datapacks" folder
- 3) Copy the downloaded Data Pack file (Leash Villager) into this folder
- 4) Join the world and run
/reloadcommand
Mod
- 1) Download the Mod
- 2) Navigate to your
modsfolder (for the vanilla launcher the path is.minecraft/mods - 3) Put the downloaded .jar file (Leash Villager) into this folder
- 4) Join the world and run
/reloadcommand⚠️ Mod version is available starting from Minecraft 1.21 and up
📖Features
This Data Pack allows you to take villagers on a leash. To leash a villager, shift and right-click on them with a lead.
YouTube Showcase
📤How to Uninstall
Data Pack
To uninstall the Data Pack run the command /function villager_leash:uninstall. When the uninstallation process is completed a confirmation message will be sent in the chat.
Mod
To uninstall the Mod version you need to run /function villager_leash:uninstall command. Then you close the game and remove the jar file from your .minecraft/mods folder.
🔗External links
All Versions
+ Add Version- Updated to 1.21.6
- Updated to 1.21.6
- Updated to 1.21.5
- Changed the old referencing format of the _**background texture**_ in the root advancement to the new and consistent one
- Updated to 1.21.5
- Changed the old referencing format of the _**background texture**_ in the root advancement to the new and consistent one
- Updated to 1.21.4
- Changed the scoreboard's name the Data Pack uses to a more specific one, so it doesn't interfere with other Packs
- Updated to 1.21.4
- Changed the scoreboard's name the Data Pack uses to a more specific one, so it doesn't interfere with other Packs
- Updated to 1.21.2 / 1.21.3
- Updated to 1.21.2 / 1.21.3
- Updated to 1.21
- Updated to 1.21
- Updated to 1.20.5 / 1.20.6
- Improved the villagers detection when leashing one
- Updated the custom advancement the Data Pack uses to work with the new ItemStack components
- Updated to 1.20.3/4
### 🔧Improvements
- General improvements to the data pack structure and understandability
- Updated to 1.20.2
### 🔧Improvements
- General improvements to the data pack structure and understandability
- Updated to 1.20
### 🔧Improvements
- Improved lead detection when leashing a villager. Now it checks not only if the player has the item but also if they are holding it their main hand _(Previously it was possible, in some rare cases, to lose a lead when using it on a villager)_
### 💻Technical
- Changed the scoreboard the Data Pack use to a custom named one, so it doesn't interfere with other Packs