The new beta 1.0.5 has introduced /give command.
How do I add the enchant attribute?
2 Answers
Components are in JSON format. However, some of the ones on PC don't exactly work as suspected.
Example of JSON format:
{"fieldname":"field content"} or
{"field":123} 2Say you want a sword with max sharpness and unbreaking, this is the command:
/give @p diamond_sword 1 0 {ench:[{id:16,lvl:32767},{id:21,lvl:32767}]} If it doesn't work, then I don't know.