Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-130110

/give doesn't give you enchanted items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 18w21a
    • None
    • Unconfirmed

      Moderator Note

      The ench NBT tag has been renamed to Enchantments, and the numeric short IDs are now strings.
      1.12:

      /give @p diamond_sword 1 0 {ench:[{id:16s,lvl:5s},{id:21s,lvl:3s}]}
      

      1.13:

      /give @p diamond_sword{Enchantments:[{id:"minecraft:sharpness",lvl:5s},{id:"minecraft:looting",lvl:3s}]}
      

      If you give yourself a diamond sword with looting 3 using:

      /give @p diamond_sword{ench:[{id:21,lvl:3}]}

      It gives you a regular sword instead.

            Unassigned Unassigned
            Golden Drake Johnden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: