Recently on my server we created a new default world, to prevent anything from being lost we've temporarily kept the old world open so we can copy things over. One of the many things that users have asked us to transfer over have been horses.
Instead of just spawning in new horses with a spawn egg what I wanted to do was duplicate the horses with the exact same stats (we use better horse breeding). I used Zyin's HUD to view the Horse's Stats.
Below I go over the way I did this.
This has been covered before but I'll cover it here as well.
Horses:
/summon EntityHorse ~ ~1 ~ {Type:0}
Donkeys:
/summon EntityHorse ~ ~1 ~ {Type:1}
Mules:
/summon EntityHorse ~ ~1 ~ {Type:2}
Undead Horses:
/summon EntityHorse ~ ~1 ~ {Type:3}
Skeletal Horses:
/summon EntityHorse ~ ~1 ~ {Type:4}
Horse colours and markings are gotten by summoning from this table found on the wiki: White Creamy Chestnut Brown Black Gray Dark Brown None 0 1 2 3 4 5 6 White 256 257 258 259 260 261 262 White Field 512 513 514 515 516 517 518 White Dots 768 769 770 771 772 773 774 Black Dots 1024 1025 1026 1027 1028 1029 1030
They can be summoned like this:
/summon EntityHorse ~ ~1 ~ {Type:0,Variant:770}
The wiki also says:
Giving a Type 0 horse entity a Variant value not in this chart will result in a white horse.
These are both fairly simple. For health kust insert whatever health value you want. As a reminder 1 integer here counts as half a heart.
/summon EntityHorse ~ ~1 ~ {CustomName:"I'm A Horse!"}
When summoning horses with custom speed you have to give an integer of some kind.
To figure out what integer you want or what speed that integer will give use this formula:
y(Integer)=x(horse speed)/43
So an integer of 1.25 would give a horse with a speed of 53.75.
1.25(integer)*43=53.75(horse speed)
To get a horse of speed of 9 you would use an integer of 0.209.
9(horse speed)/43=0.209(integer)
Jump height.. isn't a linear equation like speed was. It uses the following equation instead: y = -1.066666667 x3 + 7.2 x2 - 5.333333333·10-1 x + 0.3
Instead of solving for y in the above. I've been using a table generated by one of many polynominal regression calculators: http://www.arachnoid.com/polysolve/
.5 1.7
.75 3.5
1 5.9
1.25 8.8
1.5 12.1
Plot it. Below the graph increase the degree to 3.
And below that go down to the table generator and increase the step to 0.01. Generate the table.
Now you have your data.
EXPLAINING THE DATA:
The column of numbers on the left are your integers. They're what you're going to put into your /summon command.
The middle column is your horse's jump strength.
If you want a jump strenght of 2, scroll down searching the middle column until you reach a number closest to 2 and copy the number to the left. In this case the number happens to be 0.549.
Thankfully this bit's easy. It's just like setting horse health and speed.
i don't under stand the speed and jump height. can you give me a section of the command that allows the horse to jump over 5 blocks but not 7, (want to be able to control the darn thing) and 5 times as fast as a person please?
In the version I am playing (1.11) to get a horse with the best legit stats (meaning the highest natural value possible for each attribute) you can use the code below in a command block.
Go to Minecraft Wiki and select the color and modifier you want.
When you summon the horse add "Variant:" and the number you found in the wiki just before the attributes you want to specify.
For instance for a perfect horse (thanks to lee_terry_jr for most of this command) with black dots on a white horse (1024 from the wiki link) the command would look like this:
Recently on my server we created a new default world, to prevent anything from being lost we've temporarily kept the old world open so we can copy things over. One of the many things that users have asked us to transfer over have been horses.
Instead of just spawning in new horses with a spawn egg what I wanted to do was duplicate the horses with the exact same stats (we use better horse breeding). I used Zyin's HUD to view the Horse's Stats.
Below I go over the way I did this.
This has been covered before but I'll cover it here as well.
Horses:
Donkeys:
Mules:
Undead Horses:
Skeletal Horses:
Horse colours and markings are gotten by summoning from this table found on the wiki: White Creamy Chestnut Brown Black Gray Dark Brown None 0 1 2 3 4 5 6 White 256 257 258 259 260 261 262 White Field 512 513 514 515 516 517 518 White Dots 768 769 770 771 772 773 774 Black Dots 1024 1025 1026 1027 1028 1029 1030
They can be summoned like this:
The wiki also says:
Giving a Type 0 horse entity a Variant value not in this chart will result in a white horse.
These are both fairly simple. For health kust insert whatever health value you want. As a reminder 1 integer here counts as half a heart.
For custom names:
When summoning horses with custom speed you have to give an integer of some kind.
To figure out what integer you want or what speed that integer will give use this formula:
y(Integer)=x(horse speed)/43
So an integer of 1.25 would give a horse with a speed of 53.75.
1.25(integer)*43=53.75(horse speed)
To get a horse of speed of 9 you would use an integer of 0.209.
9(horse speed)/43=0.209(integer)
The summon command is:
Jump height.. isn't a linear equation like speed was. It uses the following equation instead:
y = -1.066666667 x3 + 7.2 x2 - 5.333333333·10-1 x + 0.3
Instead of solving for y in the above. I've been using a table generated by one of many polynominal regression calculators:
http://www.arachnoid.com/polysolve/
.5 1.7
.75 3.5
1 5.9
1.25 8.8
1.5 12.1
And below that go down to the table generator and increase the step to 0.01. Generate the table.
Now you have your data.
EXPLAINING THE DATA:
The column of numbers on the left are your integers. They're what you're going to put into your /summon command.
The middle column is your horse's jump strength.
If you want a jump strenght of 2, scroll down searching the middle column until you reach a number closest to 2 and copy the number to the left. In this case the number happens to be 0.549.
Thankfully this bit's easy. It's just like setting horse health and speed.
All the /summon commands together for your easy copying and pasting:
Credit to:
.
i don't under stand the speed and jump height. can you give me a section of the command that allows the horse to jump over 5 blocks but not 7, (want to be able to control the darn thing) and 5 times as fast as a person please?
In more recent versions, all you need to do is just type Horse instead of EntityHorse
In Minecraft 1.10+ you need to type /summon minecraft:horse instead of /summon EntityHorse
Is it possible to make the stats apply to a spawn egg?
In the version I am playing (1.11) to get a horse with the best legit stats (meaning the highest natural value possible for each attribute) you can use the code below in a command block.
To get a mule with those stats (probably not possible in legit game)
These were made using data from the wiki and the summoning helper at
http://www.summon-helper.net/
How do you do the color of the horses and how?
Go to Minecraft Wiki and select the color and modifier you want.
When you summon the horse add "Variant:" and the number you found in the wiki just before the attributes you want to specify.
For instance for a perfect horse (thanks to lee_terry_jr for most of this command) with black dots on a white horse (1024 from the wiki link) the command would look like this:
This is working in 1.11 and 1.12 at the time of this posting.