How do I enchant a stick with Knockback 3? [duplicate]
Can someone tell me how to create a knockback three stick? I searched this up everywhere on Google, but could not find any proper answers. By the way, this is for Java Edition.
You would need to use the give command for this. The following command would give a knockback 3 stick.
/give @p stick{Enchantments:[{id:"minecraft:knockback",lvl:3s}]} 1
For more enchantments, a command like this can be used. This command would give a knockback 3, sharpness 3 stick.
/give @p stick{Enchantments:[{id:"minecraft:sharpness",lvl:3s},{id:"minecraft:knockback",lvl:3s}]} 1