I'm trying to place items in certain slots in a players inventory and I know you can testfor an item in a specific slot:
/testfor @a[r=10] {Inventory[{Slot:103b,id:"minecraft:leather_helmet"}]}
This is actually a command I used in 1.8
Instead of the testfor to test for the item in a slot, place the item in a slot, using a command like the give command to place the item in the specific slot:
/give @a[r=10] {Inventory:[{Slot:103b,id:"minecraft:leather_helmet"}]}
Can I do this in Minecraft 1.9?
/replaceitem
, although I could have sworn that it, like/entitydata
didn't work on players.