1

Pet Mob Command - Please Help!

natester1001 •11/5/16 10:02 am
•
309
•
11/5/2016 2:16 pm
I'm working on a command that will basically allow you to have a basic companion of, in theory, any mob. I just need to figure out how to make this dog ride an Iron Golem:

Wolf {CollarColor:0,Owner:<PLAYERNAME>,Sitting:0,Invulnerable:1,PersistenceRequired:1,Silent:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:19999999999980,ShowParticles:0b}]}

Please send the command of this dog riding an iron golem, it will help a lot!
Posted by
natester1001
Level 1 : New Crafter
0

  Have something to say?

Join • Sign in

1

Bertiecrafter
• 11/05/2016 2:16 pm
• Level 72 : Legendary System
well first:
it's /summon Wolf x y z DataTag in 1.10
or /summon wolf x y z DataTag in 1.11.

But since you obviously know how to use datatags (probs to you for that), you probably know the command xD

You simply add the Passengers tag (in the latest version).
It's a compound list tag that inherits the main tag tree.

E.g 1.8 (and maybe 1.9):
/summon VillagerGolem ~ ~ ~ {Riding:[{id:"Wolf",tag:value,tag:value}]}
E.g (maybe 1.9 and) 1.10:
/summon Wolf ~ ~ ~ {Passengers:[{id:"VillagerGolem"}],tag:value,tag:value}
E.g 1.11:
/summon (minecraft:)wolf ~ ~ ~ {Passengers:[{id:"minecraft:iron_golem"}],tag:value,tag:value}

As you can see, I indicated where your other DataTags should end up.
Also I am not sure about the id of an Iron Golem. I always mess that up xD

Just use tab to autocomplete /summon to see what's the id for an Iron Golem.
1

Welcome