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

Cannot find information/examples on how to create items with enchantments using /give.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 24w12a
    • None
    • Unconfirmed
    • (Unassigned)

      Currently on the 24w12a Minecraft Java Snapshot.

      Trying to /give a netherite sword with the regular enchantments (sharpness, mending, unbreaking, etc) but the structure of the enchantment section of the command has seemingly changed and I cannot find any documentation/examples of how it now works online.

      I figured out that they've changed the { symbol to [, and then it autofilled minecraft:enchantments=, but I have no idea what should be next. There wasn't any autofill suggestions to help. 

      Please see example below:

      /give @p minecraft:netherite_sword[minecraft:enchantments= 

            Unassigned Unassigned
            TD4797 Thomas Davies
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: