/give @p minecraft:bow{display:{Name:"{\"text\":\"Test Name\"}"}} 

Is what im trying to add enchants too but cannot seem to figure out how, {Sharp 5 Knockback 100}

I tried the following:

/give @p minecraft:lead{Enchantments:[{id:"minecraft:knockback",lvl:1‌ 000},{display:{Name:‌ "{\"text\":\"Test Name\"}"}}
/give @p minecraft:bow{display:{Name:"{\"text\":\"Test Name\"}"}},{Enchantments:[{id:"minecraft:knockback",lvl:1000‌ }
/give @p minecraft:lead{display:{Name:"{\"text\":\"Test Name\"}"}{Enchantments:[{id:"minecraft:knockback",lvl:1000}}

Java: Vanilla, 1.16.4

  • What have you tried already? Please share your past trials that didn't work, or share research that you tried to look at but didn't help you. – ExpertCoder14 Dec 20 '20 at 19:57
  • /give @p minecraft:lead{Enchantments:[{id:"minecraft:knockback",lvl:1000},{display:{Name:"{\"text\":\"Test Name\"}"}} /give @p minecraft:bow{display:{Name:"{\"text\":\"Test Name\"}"}},{Enchantments:[{id:"minecraft:knockback",lvl:1000} /give @p minecraft:lead{display:{Name:"{\"text\":\"Test Name\"}"}{Enchantments:[{id:"minecraft:knockback",lvl:1000}} Idk if its because I just woke up but yakno, Figured id ask. – Corpseys Dec 20 '20 at 20:07
  • gaming.stackexchange.com/questions/185451/… What i used to find the new 1.16 naming thing (From you) – Corpseys Dec 20 '20 at 20:19

It seems to me that you have malformed nbt. In all the commands you’ve tried, you opened an array and never closed it. What you’ve done.


What the correct way is.


Notice in the bottom example there is a close bracket at the end and the top example there isn’t. That is an example of malformed nbt. Your final command is below.

/give @p minecraft:lead{display:{Name:"{\"text\":\"Test Name\"}"}, Enchantments:[{id:"minecraft:knockback",lvl:1000s}]}

For later problems I suggest using mcstacker to generate commands.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.