• check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • check_circle Recipes
  • 2,311 views, 2 today
  • 194 downloads, 0 today
  • 14
  • 8
  • 8
squidgga's Avatar squidgga
Level 40 : Master Procrastinator
25
This data pack adds an item that allows players to bind their horse to and summon / despawn them at will.

Crafting recipe: 1 saddle, 1 carrot, 1 fishing rod

Instructions:
1. tame a horse
2. hit tamed horse with item in hand
3. right click with item to toggle horse

Players can only bind horses which they themselves tamed. Players can bind different horses to different items but can only have one active horse at a time. Horses can still be customized once bound. Horses bound to the item will not drop any items upon death. Once killed, horses can still be resummoned. When summoned for the first time/resummoned, horses will be in the same state they were in prior to being bound/despawned.

=====Licence=====
Horse Summons Data Pack © 2022 by squidgga is licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International.
An exception is made for video content, which can be monetized. However, video creators must give appropriate credit by leaving a link to this page in the video description.
=================
CompatibilityMinecraft 1.18
toMinecraft 1.19
Tags

Create an account or sign in to comment.

1
05/29/2023 10:44 am
Level 22 : Expert Engineer
CherubicBoot785
CherubicBoot785's Avatar
This datapack is so good! Is there a way to customize this datapack so I can put another mob and bound it into a different item?
1
05/29/2023 10:50 am
Level 22 : Expert Engineer
CherubicBoot785
CherubicBoot785's Avatar
I wanna store my strider and my enderwhale (modded mob from adventureZ, in better mc fabric), I wonder if this was possible
1
09/04/2023 1:29 am
Level 22 : Expert Engineer
CherubicBoot785
CherubicBoot785's Avatar
Nevermind, figured it out and now I can bind my camel and horse! I also succesfully turn the base item into goat horn aswell :D
1
01/23/2023 12:45 pm
Level 1 : New Miner
Leeviathan
Leeviathan's Avatar
Hi there, first i want to say that i love this datapack, the idea is really well thought out and makes horses more attractive to move around.
Second, i would like to ask if there is a way that i can modify the item that summons horses to be a goat horn, it doesn't need to play a sound or have the cooldown effect (although it would be really cool if is possible), i tried to do that on my own, but since i don't have any experience with datapacks i couldn't pull that off, i manage to make the horn "store" the horse, but failed to make it summon again.
If you could help me with that i would be really appreciated :)
1
01/23/2023 10:47 pm
Level 40 : Master Procrastinator
squidgga
squidgga's Avatar
In game, run /scoreboard objectives remove horse.rclick

In init.mcfunction, replace line 10 with scoreboard objectives add horse.rclick minecraft.used:minecraft.goat_horn

In rclick_directory.mcfunction, replace line 4 with execute if entity @s[nbt={Inventory:[{Slot:-106b,tag:{hasHorse:1}}]}] run data modify storage horse:item Item set from entity @s Inventory[{Slot:-106b}]

In give_item.mcfunction in line 5, replace the carrot_on_a_stick with goat_horn
1
01/24/2023 11:45 am
Level 1 : New Miner
Leeviathan
Leeviathan's Avatar
Ty for responding
I followed those steps, the crafting recipe gives a goat horn and the process to "store" the horse works, but for some reason that i failed to find out, the rclick function doesn't seems to work with that modifications, i tried to change every mention that i can find of "carrot_on_a_stick" with "goat_horn" or "minecraft:goat_horn" but it doesn't seem to help
1
01/24/2023 8:20 pm
Level 40 : Master Procrastinator
squidgga
squidgga's Avatar
I had the issue of it not calling rclick_directory too when I was testing it. Make sure to remove the horse.rclick objective in game chat before replacing the objective in the init function with minecraft.used:minecraft.goat_horn. The reason is because the game does not automatically replace an objective when you try to make a new objective with the same name and so it is still looking for right clicks via carrot on stick instead of goat horns.
1
01/25/2023 8:37 am
Level 1 : New Miner
Leeviathan
Leeviathan's Avatar
I think I get it, will try it again later, thank you very much for helping me :D
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome