Перейти к содержимому
Mineforgian

Private Horses

Sick of having your horse, donkey, or mule jacked? With this mod, you can relax — no one but you can ride or leash your animal now!

Загрузки
7K
Подписчики
26
Обновлён
25 марта 2026 г.
Лицензия
MPL-2.0

Опубликован 5 сентября 2024 г.

Исходный код

🐴 Private Horses — keep your mount yours!

This mod ensures that only the owner can interact with their horse, donkey, or mule — no more random riders jumping on your beloved steed!
Exceptions apply only to server operators and players with the private-horses.interact permission.


⚙️ New Gamerule: private-horses.disable_damage

Want extra protection for your tamed animals?
Enable the new gamerule private-horses.disable_damage to prevent any damage to your horse, donkey, or mule — except for fall damage and damage caused by the owner.
By default, this rule is disabled.


🔐 Public or private? You decide.

You can freely switch your mount’s accessibility:

  • Make it publicSneak and right-click with sugar
  • Make it private againSneak and right-click with wheat

This lets you easily share or reclaim access to your horse, donkey, or mule.


🔄 Transfer ownership

Inspired by the Transferable Pets mod, this mod also lets you give your animal to another player.

To do so:

  1. Put the animal on a lead (leash).
  2. Sneak and right-click the player you want to transfer it to.

Done! They’re now the proud new owner.


Default config values

# Message translations
message:
  # 'AnimalName' is owned by 'PlayerName'
  owned_by: '%s is owned by %s'
  
  # 'PlayerName' is new owner of 'AnimalName'
  new_owner: '%s is new owner of %s'
  
  # 'PlayerName' transferred 'AnimalName' to you
  transfer: '%s transferred %s to you'

# Use the above translations instead of a polymer translation
ignore_polymer: false

Note: If a player tries to equip horse armor on someone else's horse, it will appear equipped due to a client-side visual bug. However, the armor will remain in the player's inventory.


You are welcome to support me via the following links:
ko-fi monobank

Ченджлог

0.0.7Релиз1.21.11 · 25 марта 2026 г.

update to 1.21.11

made horse leashable to any entity except a player, unless the player is the horse's owner

1.21.9-0.0.6Релиз1.21.9, 1.21.10 · 11 января 2026 г.

fix ownership message
(displayed the name of the player interacting with the horse, rather than the name of the horse's owner)

1.21.9-0.0.5Релиз1.21.9, 1.21.10 · 21 декабря 2025 г.

Update to 1.21.9

1.21.6-0.0.5Релиз1.21.6, 1.21.7, 1.21.8 · 25 июля 2025 г.

Fix dupe of lead; Prevent leash breakage on the fence if there are other players' horses tied up there; New config feature ignore_polymer

1.21.6-0.0.4Релиз1.21.6, 1.21.7, 1.21.8 · 26 июня 2025 г.

Update to 1.21.6 (1.21.7)

1.21-0.0.4Релиз1.21, 1.21.1 · 21 апреля 2025 г.

prevent crash on client side, casting issue

1.21-0.0.3Релиз1.21, 1.21.1 · 10 апреля 2025 г.

Added ability to make a horse publicly available and vice versa

1.21-0.0.2Релиз1.21, 1.21.1 · 16 марта 2025 г.

new gamerule; disabled damage from players to owned horses; disabled feeding owned horses; disabled tempt for owned horses; added permission to interact with owned horses

hotfix: horses did not receive damage from the owner and /kill didn't work when the gamerule is enabled (it was not intended)

Комментарии

Загружаем…