source: manual

category: negative

reasoning: Count must come AFTER the item and components, not between item and brackets

commands: give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1

commands: give slingshooter08 minecraft:diamond_sword 1[enchantments={sharpness:5}]

difficulty: medium


reasoning: Components attach to the item ID directly, count goes last

commands: give slingshooter08 minecraft:netherite_pickaxe[enchantments={efficiency:5}] 1

commands: give slingshooter08 minecraft:netherite_pickaxe 1[enchantments={efficiency:5}]


reasoning: Brackets must follow item ID with no space or count between

commands: give slingshooter08 minecraft:bow[enchantments={power:5,infinity:1}] 1

commands: give slingshooter08 minecraft:bow 1[enchantments={power:5,infinity:1}]


reasoning: Typo: enchanments -> enchantments

commands: give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1

commands: give slingshooter08 minecraft:diamond_sword[enchanments={sharpness:5}] 1

error: Typo: enchanments -> enchantments


reasoning: Wrong key: enchantment -> enchantments (plural)

commands: give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1

commands: give slingshooter08 minecraft:diamond_sword[enchantment={sharpness:5}] 1


reasoning: Old NBT format. 1.21 uses [enchantments={name:level}] not {Enchantments:[...]}

commands: give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1

commands: give slingshooter08 minecraft:diamond_sword{Enchantments:[{id:sharpness,lvl:5}]} 1


reasoning: Old abbreviated NBT. 1.21 uses component syntax [enchantments={name:level}]

commands: give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1

commands: give slingshooter08 minecraft:diamond_sword{ench:[{id:sharpness,lvl:5}]} 1