The coordinates can be added as target selector arguments, i.e. inside the @e[...]
, using the x
, y
, and z
arguments, combined with r
to set a maximum radius. Note that Tilde notation is not allowed for this, you need the absolute coordinates.
Placing an enchanted item in an Item Frame has to be done all at once, since the entitydata is running on the Item Frame, not on the item that is in it. This is done by setting the Item
tag of the item frame to a valid compound NBT structure for an item, such as
{id:"minecraft:stone_sword",tag:{ench:[{id:16,lvl:1}]}}
for a Sharpness I Stone Sword.
Overall, the command you want to be running might look like:
entitydata @e[type=ItemFrame,x=1,y=2,z=3,r=2] {Item:{id:"minecraft:stone_sword",tag:{ench:[{id:16,lvl:1}]}}}
Be careful regarding the closing parentheses.
Your first command is fine if you are changing it as you say.
The problem appears to be that you have a space between the selector (@a
) and the selector arguments ([score_Deaths_min=1]
), when there shouldn't be one. Try this command instead:
/give @a[score_Deaths_min=1] iron_sword
Best Answer
You have to add a texture to the item or edit an existing one. When you see an item in the item frame it shows the items texture and to make the item bigger you just have to make a bigger texture.