mojira.dev
MC-130891

Enchantments using /give does not work

Enchanting using /give do not work in 1.13-pre1, 18w22c and 18w21b, in 18w20c it works.

For example putting this command in command block or in player gives a bow without any enchantments(It should give protection I)

/give @p bow{ench:[{id:0,lvl:1}]} 1

 

While in 1.12.2 it works

give @p bow 1 0 {ench:[{id:0,lvl:1}]}

Related issues

Attachments

Comments

migrated
[media][media][media][media][media]
wobst.michael

straight from the wiki

The ench NBT tag is now called Enchantments, and no longer has number IDs in each compound.

migrated

(Unassigned)

Unconfirmed

Command, command, command-block, ench, enchant, enchanted, enchantement, enchantment, give

Minecraft 1.13-pre1

Retrieved