So here's the code i'm using:
/cmd create arch
/cmd add arch %armor% = array(298, 299, 300, 301)
/cmd add arch %bow%[\"id\"] = 261
/cmd add arch %bow%[\"variant\"] = 0
/cmd add arch %bow%[\"count\"] = 1
/cmd add arch %bow%[\"name\"] = \"Archer's Bow\"
All this is fine till I get to here:
/cmd add arch %bow%[\"tags\"] = {ench:[{id:22,lvl:1}]}
Now, I'm trying to get it to where I can add infinity 1 on this bow here, but it keeps giving me an error: Error on line 6: invalid expression. Or something like that. I would like to stick to this method if I can. I would appreciate it a lot if someone could help me!
/cmd create arch
/cmd add arch %armor% = array(298, 299, 300, 301)
/cmd add arch %bow%[\"id\"] = 261
/cmd add arch %bow%[\"variant\"] = 0
/cmd add arch %bow%[\"count\"] = 1
/cmd add arch %bow%[\"name\"] = \"Archer's Bow\"
All this is fine till I get to here:
/cmd add arch %bow%[\"tags\"] = {ench:[{id:22,lvl:1}]}
Now, I'm trying to get it to where I can add infinity 1 on this bow here, but it keeps giving me an error: Error on line 6: invalid expression. Or something like that. I would like to stick to this method if I can. I would appreciate it a lot if someone could help me!