mojira.dev
MC-47212

Testfor + Inventory bug

Hello, people, if you do testfor players with a inventory equipments. This were the bug start at. If you only has on one of pumpkin on our head (from example below). If you more same/different items on the equip/hotbar/inventory. Not found the matching any more and no more output either when I do stratification equip item on stratification slot should detect at only slot.

Steps to Reproduce:
1. Build a hopper clock with a ender pearl.
2. Our output into a command block.
3. Then put this command "

/testfor @p {Inventory:[{id:"minecraft:pumpkin",Damage:0s,Count:1b,Slot:103b}]}

"

4. Another output to another command block has this "/effect @a 16 11 0"
5. Has item on your hotbar and has a pumpkin on our head too.

Linked issues

Attachments

Comments 5

Works with

testfor @p {Inventory:[{id:"minecraft:pumpkin",Damage:0s,Count:1b,Slot:103b}]}

Kumasasa, You didn't understand what type of bug this is "testfor @p {Inventory:[{id:"minecraft:pumpkin",Damage:0s,Count:1b,Slot:103b}]}" I know work rights but redo and have pumpkin on your head and has a item on your hotbar, you see now what am I talking about.... you didn't full read my bug tracking enable clearly.

Well, you should provide exact steps to reproduce, that wouldn't waste my time.

I just test again in 14w06a snapshot version. Still didn't work. :{

I just test again in 14w07a snapshot version and does work very will. 😃

James Blonde

(Unassigned)

Unconfirmed

Minecraft 14w06b

Minecraft 14w07a

Retrieved