Summon Mob nameTag in 1.17.31
Hello
I'm trying to name the mob with the summon command (old syntax was: summon dog ~-4 ~0 ~0 nameTag Rex), however, the mob comes alive with no name. What would be the syntax for this command in the new version?
-
Ok /summon dog doesn't work
I was able to do this
/summon wolf ~~~ minecraft:on_tame Rex
But the whole dog was Red? which seemed odd.
the syntax /summon <entitytype:Entity Type> <nameTag:string> [spawnpos:x y z]
or /summon <entitytype:Entity Type> [spawnpos:x y z] [spawnEvent:string] [nameTag:string]
This is what I usually use to get an NPC that I can then move around with commands using the top syntax.
/summon npc Instructor ~~~
You can get a wolf (not a dog) with a name by doing this
/summon minecraft:wolf Rex ~~~
I'm not sure how to summon a Tamed wolf (dog) since the game doesn't know who tamed it so that might be why the first one I did was red?
1 -
I think it might be /summon dog ~ ~ ~ name Rex Let me check
I've only really ever done this with npcs
0
Please sign in to leave a comment.
Comments
2 comments