mojira.dev
MC-49264

@p Doesn't Work in Data Tag

@p, @a, @r don't work with data tags.

Tested while trying to spawn a tamed wolf, by using command
/summon Wolf ~ ~1 ~ {Owner:@p}

The command runs successfully, but it spawns a wolf that appears tamed but is just sitting down. It cannot be made to get up and follow you. Same thing happens in command block and in chat.

I found MC-30077, but it was marked as a duplicate of MC-30914, which was marked Invalid.

Thanks for seeing this.

Linked issues

Comments 2

Quote from MC-30914:

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.

Brodude1234

(Unassigned)

Unconfirmed

Minecraft 14w08a

Retrieved