mojira.dev
MCPE-23934

/give (with components)

when i type this command to give enchanted sword
/give @p diamond_sword 1 0 {ench:[{id:16,lvl:2},{id:21,lvl:2}]}
it says

  • Line 1, Column 2
    Missing '}' or object member name

Comments 2

Unfortunately, component isn't nbt tag support for now.

This is working as intended. Currently, as mentioned above, there is no NBT tag support in MCPE. There are only 2 components currently supported and they are Can place and Can destroy for adventure maps.

Abdu

(Unassigned)

Unconfirmed

Tablet - Android - Huawei MediaPad

4.4.4

1.2.0.2

Retrieved