• check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • 2,408 views, 1 today
  • 106 downloads, 0 today
  • 11
  • 11
  • 1
Igtarr's Avatar Igtarr
Level 36 : Artisan Engineer
7

Horse Ownership

This datapack makes is so that only the player who owns a horse is allowed to ride it - no more stolen horses! Upon taming a horse, you are permanently set as the owner of that horse. Any player who tries to get on while it is saddled up will be kicked off and notified that they are not allowed to ride. Players can, however, sit on your horse bareback - even if they are not the owner. Feel free to attach a lead and give pony rides! Once a saddle is equipped, the protection will reenable itself and kick off the unwelcome rider.

This datapack is useful as a plug-and-play mechanic for a server, or as a package for making custom maps and other projects. This pack also includes the ability to summon horses (including Zombie and Skeleton variant) which are automatically tamed and owned by a certain player! Additionally, you can enable settings such as AutoName, which will automatically give a horse a custom name based on the owner's username, or AutoSaddle (only when summoning pre-tamed horses).

Fully compatible with my Horsebox Datapack!

See below for documentation:

Toggle Settings
AutoName: /function igt.hrsowner:admin/toggle_autoname
AutoSaddle (summoning only): /function igt.hrsowner:admin/toggle_autosaddle
Summon Custom Horses
/function igt.hrsowner:admin/summon/tamed_horse
/function igt.hrsowner:admin/summon/tamed_skeleton_horse
/function igt.hrsowner:admin/summon/tamed_zombie_horse
Simply execute the function for the type of horse you wish to summon! AutoName and AutoSaddle settings will be used for summoned horses.

Feel free to modify, reverse engineer, use in your projects, etc., but please do not redistribute without credit!

If you encounter a bug, please let me know!
CompatibilityMinecraft 1.19
Tags

Create an account or sign in to comment.

2
12/30/2022 2:06 pm
Level 61 : High Grandmaster Sweetheart
imalittlhigh
imalittlhigh's Avatar
pretty cool how you did the naming ^^
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome