mojira.dev
MC-80577

Testfor Player Skulls in inventory

Hi,

When i use the command:

/testfor @a {Inventory:[{id:minecraft:skull,Damage:3s,Slot:103b,tag:{SkullOwner:"PoweredByPowerYT"}}]}

to testfor a custom player skull in my inventory (Head slot) it says:

[13:27:31] PoweredByPowerYT did not match the required data structure
and I have the skull in my inventory

Please help!

Comments 3

I think the SkullOwner tag was removed because of a security issue or something. I don't remember exactly.

The SkullOwner tag works on give command and other things so I don't think it would be that

The SkullOwner tag changed a bit, use this instead :

/testfor @a {Inventory:[{id:minecraft:skull,Damage:3s,Slot:103b,tag:{SkullOwner:{Name:"PoweredByPowerYT"}}}]}

Austen Thomas

(Unassigned)

Unconfirmed

Minecraft 1.8.1

Retrieved