How do I summon an enchanted item?



  • I tried this command:

    /summon item ~ ~ ~ {Item:{id:iron_pickaxe,Count:1,Enchantments:{id:fortune,lvl:1}}}
    

    But the Iron pickaxe was without enchantment.

    I'm on Minecraft java 1.18.1.



  • Try:

    /summon item ~ ~ ~ {Item:{id:"minecraft:iron_pickaxe",Count:1b,tag:{Enchantments:[{id:"minecraft:fortune",lvl:1s}]}}}
    

    The changes: enter image description here

    I used MC stacker at https://mcstacker.net/ Mc stacker can help you create commands easily. enter image description here

    I tested this and it works!




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2