Arqade Asked by Corpseys on January 6, 2021
/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
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.
Enchantments:[{id:"minecraft:knockback",lvl:1000s}
What the correct way is.
Enchantments:[{id:"minecraft:knockback",lvl:1000s}]
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.
Answered by randomuser922 on January 6, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP