Minecraft Data Packs / Game Mechanic

Leash Anything (monsters, villagers, pillagers, not boats)

  • check_circle Functions
  • 4,752 views, 21 today
  • 895 downloads, 2 today
  • 15
  • 19
  • 12
cookedporkbacon avatar cookedporkbacon
Level 54 : Grandmaster Waffle
97
Simply throw a leash on the ground, and it will attach itself to the nearest mob.

This datapack allows you to put a leash everything. Well, not literally everything, but villagers, pillagers, zombies, and many other sorts of mobs.

Sadly it does not work with boats :(
CompatibilityMinecraft 1.16
toMinecraft 1.17
Tags

1 Update Logs

Update #1 : by cookedporkbacon 09/03/2021 2:01:10 pmSep 3rd, 2021

Fixed glitch where boats or armor stands "eat" your leash.

Create an account or sign in to comment.

2
05/20/2022 7:37 pm
Level 1 : New Miner
User4167571G
User4167571G avatar
is it possible to make it so it works on only one hostile mob?
2
05/24/2022 1:01 pm
Level 54 : Grandmaster Waffle
cookedporkbacon
cookedporkbacon avatar
Yeah. Go into the folders leash_anything/data/leash_anything/functions. Open up the file tick.mcfunction in notepad.
Then on lines 1 and 2 where it says this:
type=!#leash_anything:inanimate, type=!minecraft:player,
replace it with this:
type=skeleton,

Make sure to change both lines, and then it will work!
2
05/24/2022 1:21 pm
Level 1 : New Miner
User4167571G
User4167571G avatar
Thanks for helping, haven't tried it yet but I'll see if it works!

Update: it works! Thank you!
1
09/12/2021 12:12 am
Level 1 : New Miner
NachoPkmn
NachoPkmn avatar
Doesn't work... :sad:
1
09/12/2021 12:19 pm
Level 54 : Grandmaster Waffle
cookedporkbacon
cookedporkbacon avatar
:( I'm sorry it's not working for you.

Did you unzip the file?
2
09/18/2021 5:29 pm
Level 1 : New Miner
NachoPkmn
NachoPkmn avatar
OOOH, Thanks you, i fixed it!


1
09/03/2021 10:59 pm
Level 29 : Expert Princess
Kate1902019
Kate1902019 avatar
I AM BLAMING MOJANG FOR NOT LETTING US USE HE LEAD ON BOATS!!!!!!!
THAT WOULD BE USEFUL TO TRANSPORT VILLAGERS!!!!!!!
1
02/26/2022 7:28 pm
Level 21 : Expert Scribe
Jind
Jind avatar
why not leash the villager?
3
09/01/2021 10:52 amhistory
Level 11 : Journeyman Modder
DaveDuck
DaveDuck avatar
i installed it and put it in my datapacks folder but it doesnt work, did i forget to do something? I'm throwing the lead but it doesnt attach
2
09/03/2021 1:58 pm
Level 54 : Grandmaster Waffle
cookedporkbacon
cookedporkbacon avatar
Oh no. Did you unzip the file?

Also, I discovered a glitch where standing near boats or armor stands can stop you from leashing other mobs. Perhaps this was why it didn't work on yours. I'm about to fix it right now.

Please let me know if you unzip the file and it still doesn't work so I can provide an alternate download link.
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome