I was making a pet shop in minecraft, which they can click a button, and it would give them a tamed dog. the command in the commandblock is
/summon Wolf ~0 ~-2 ~0 \{CustomName:\[" @p 's Dog"\],Owner:\[" @p "\]\}
And it doesnt work, it just spawns a sitting dog, and its name is "@p 's Dog". so i later logged onto the same world, as "@p", and I right clicked the dog, and finally it sat up. Please fix this bug!
Linked issues
is duplicated by 2
Comments 3
This is more of a feature request than a bug. The command is literally saying to make a dog with owner '@p' not the closest player. Mojang has not added capability to use the @'s in NBT data.
Sorry, I can't reproduce at all with the given command copy-pasted into chat or a command block, it gives me an "Unbalanced curly brackets" error.