I recently tried to summon an EnderDragon riding a tamed Wolf, but for an unknown reason, it doesn't work. Here is what I wrote in the command block:
/summon ~ ~ ~ EnderDragon {Riding:{ID:"Wolf"} {Owner:Kimatuy}}
I don't know where my error is, please show me the correct way if possible!
Best Answer
You closed the NBT data for the wolf and then opened another compound illegally (missing a comma as well as a tag-name for it). You just separate tags at the same depth with commas.
The entity ID comes at the start of the
/summon
command:As well, all tags are case-sensitive; it's
id
rather thanID
. Fixed command for pre-1.9:If you're using 1.9, the
Riding
tag has been replaced withPassengers
, which is a list rather than a compound (allowing multiple passengers at the same depth) as well as reversing the stack order. You'd summon the host first instead of the top-most entity: