I am trying to summon a horse with this command:

/summon EntityHorse ~0 ~1 ~0 {Attributes:
[{Name:generic.maxHealth,Base:30.000},{Name:generic.movementSpeed,Base:0.3375},
{Name:horse.jumpStrength,Base:1.0}],Type:0,Tame:1,SaddleItem:{id:329}} 

It reports:

Unable to summon object.

How can I fix this?


Solution 1:

You are using a previous version of the command. My answer is for if you are playing latest release (1.12.1).

EntityHorse is pre 1.11. The current name to summon is horse. This also means Type is no longer required.

The saddle portion of the command is not correct either.

Here is an updated command:

/summon horse ~ ~1 ~ {Attributes:[{Name:generic.maxHealth,Base:30.000},{Name:generic.movementSpeed,Base:0.3375},{Name:horse.jumpStrength,Base:1.0}],Tame:1,SaddleItem:{id:"minecraft:saddle",Count:1}}