Minecraft Data Packs / Game Mechanic

Better Horse Breeding

  • check_circle Advancements
  • check_circle Functions
  • 6,031 views, 5 today
  • 574 downloads, 0 today
  • 28
  • 20
  • 13
Exandreal's Avatar Exandreal
Level 47 : Master Explorer
65
This datapack alters the breeding mechanism of horses, donkeys and mules so that each stat (health/speed/jump strength) of the foal is calculated from a random distribution centered on the average of the two parents, meaning that the foal on average will resemble its parents.

With the current breeding mechanism in Minecraft, each stat of the foal is calculated as an average between the two parents + a random (often terrible) horse. Because of the random horse, if your horses are just somewhat decent, you will have a very hard time breeding a better horse, and most often will end up with a worse horse...

With this datapack, there is instead equal chances of getting a better or a worse horse than the average of the parents. If the stats of the parents are far apart, the stat of the foal can deviate more from the average (for better or worse).
Similarly, if the parents are somewhat average, the random deviation can be larger as well. This makes breeding a bit easier going from average -> good, but harder going from good -> great.

The calculated stats of the foal are capped at the vanilla minimum/maximum values for wild horses, while donkeys are capped at slightly smaller values.



Example 1 (~average stats):
- Mother's health (hearts): 10.0
- Father's health (hearts): 13.0
- Foal's health can be anywhere between 8.5 - 14.5, but more likely between 10.0 - 13.0 (since the random distribution is not uniform but "triangular" with the center values being more likely)

Example 2 (good stats):
- Mother's health (hearts): 14.0
- Father's health (hearts): 14.0
- Foal's health: anywhere between 13.05 - 14.95, but more likely between 13.5 - 14.5



Installation:

- Download the .zip file and place it inside the datapacks folder in your world save.

- Start breeding your new Superhorse!
CompatibilityMinecraft 1.17
toMinecraft 1.19
Tags

Create an account or sign in to comment.

1
08/16/2023 4:23 am
Level 1 : New Miner
Zynara
Zynara's Avatar
PLEASE! Please do an update for 1.20! I love this datapack! I need it in my 1.20.1 world!
1
11/26/2022 3:52 pm
Level 12 : Journeyman Cookie
Unavalible_User
Unavalible_User's Avatar
the only issue is that horses don't fit in boats so you need a new one every time you cross an ocean
1
11/27/2022 2:36 am
Level 47 : Master Explorer
Exandreal
Exandreal's Avatar
True.. Although skeleton horses can actually ride underwater without drowning! :)
1
11/27/2022 7:48 pm
Level 12 : Journeyman Cookie
Unavalible_User
Unavalible_User's Avatar
wait you can breed those?

also, I can't ride underwater without drowning, and it'd be a pain to navigate
1
12/06/2022 6:04 am
Level 47 : Master Explorer
Exandreal
Exandreal's Avatar
Well, no.. You can't breed skeleton horses, unfortunately :/
1
11/19/2022 2:07 pm
Level 1 : New Miner
Hallux
Hallux's Avatar
Perfect thats what I was looking for!
I got a perfect horse and after try with donkeys but I got stuck and discorver that you capped them XD I wonder why you did that^^
In any case thanks for the datapack
2
04/23/2022 7:00 pm
Level 4 : Apprentice Miner
Korowko
Korowko's Avatar
Top. A great package for those who love to breed animals, although narrowly focused but very cool!
I have already built several stables and am starting to breed horses of purebreds - white, black, and other specific races in an attempt to breed a horse with better characteristics.
2
04/17/2022 6:33 am
Level 4 : Apprentice Miner
Korowko
Korowko's Avatar
I didn’t quite understand the differences between your package and vanilla minecraft, I looked at Wikipedia yesterday and it turned out to have the same characteristics when breeding horses. I used to think that when crossing horses in the vanilla game, an absolute random came out that was not affected by the characteristics of the foal's parents, but it turned out that in the vanilla game there is a breeding formula for which offspring come out.
So I had a question, what are the differences between your package and the vanilla game? Have you increased the chance of getting a better horse? That is, for example, if a horse with a characteristic of 14+ is a horse with a characteristic of 14, then in a vanilla game the chances of getting a horse with characteristics from 13.5-14.5.
What's your ratio?
2
04/17/2022 10:41 am
Level 47 : Master Explorer
Exandreal
Exandreal's Avatar
The vanilla is worse than you think. Let me demonstrate with an example:

In vanilla:

If both parents have 14.00 hearts in health, the foal will have between 11.83 - 14.33, but more likely between 12.46 - 13.71.
So, in vanilla, the chances are very low to get a horse with better stats.

My datapack:
If both parents have 14.00 hearts in health, the foal will have between 13.05 - 14.95, but more likely between 13.5 - 14.5.
So, now the chances are equal for a better/worse horse.
2
04/17/2022 10:45 am
Level 4 : Apprentice Miner
Korowko
Korowko's Avatar
oo thx i understand
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome