
What's the syntax for the give command for a totem in 1.19.2?
PurpleHel opened this issue · 2 comments
Issue type:
- ❓ Question
Question:
I can't figure out the syntax for the give command for 1.19.2. Like, if I wanted to give myself a magnetize totem. I tried the following and just got the 'your command syntax is confusing the computer' error.
/give @s everlastingabilities:ability_totem{"everlastingabilities:abilityStoreStack": [name: "everlastingabilities:effect/magnetize". level: 1]}
Someone will answer your question soon. In the meantime, you might be able to get help more quickly on our Discord server.
Your JSON syntax appears to be invalid.
Name/level can not be defined directly inside an array, they must be wrapped in an object, e.g. [{name: "everlastingabilities:effect/magnetize". level: 1}]
You can find examples of the contents of valid NBT tags here: https://github.com/CyclopsMC/EverlastingAbilities/wiki/Creating-recipes-for-totems-and-bottles
Entry for The Modding Trials 2016. Contribute to CyclopsMC/EverlastingAbilities development by creating an account on GitHub.