Mojira Archive
MC-269902

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

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= 

Invalid

Thomas Davies

2024-03-26, 06:10 AM

2024-03-26, 07:02 AM

2024-03-26, 07:02 AM

0

1

Unconfirmed

(Unassigned)

24w12a

-