I need help fixing this /spawnitem command... I am trying to spawn a custom spear, but I don't know what's wrong with it. It returns "could not parse item parameters". Code: /spawnitem rarespear 1 '{ "shortdescription":"Feather Lance", "rarity":"rare", "elementalType":"electric", "seed":3774773, "level":4, "primaryAbility":{ "baseDps":23, "energyUsage":1, "fireTime":2.3, "baseDpsFactor":2.7, "energyUsageFactor":1.3, "fireTimeFactor":1.4, "inaccuracy":0.3 }, "altAbilityType":"flurry", "animationParts":{ "blade":"/items/active/weapons/melee/spear/blade/18.png?replace;b1b1b1=f7caf6;676767=c667c4;e9e9e9=fceefc", "handle":"/items/active/weapons/melee/spear/handle/12.png?replace;890900=676767;e5323b=b1b1b1;ff7060=e9e9e9"}' I'm an amateur at commands so this will be very helpful.
You forgot a } at the end. Code: /spawnitem rarespear 1 '{ "shortdescription":"Feather Lance", "rarity":"rare", "elementalType":"electric", "seed":3774773, "level":4, "primaryAbility":{ "baseDps":23, "energyUsage":1, "fireTime":2.3, "baseDpsFactor":2.7, "energyUsageFactor":1.3, "fireTimeFactor":1.4, "inaccuracy":0.3 }, "altAbilityType":"flurry", "animationParts":{ "blade":"/items/active/weapons/melee/spear/blade/18.png?replace;b1b1b1=f7caf6;676767=c667c4;e9e9e9=fceefc", "handle":"/items/active/weapons/melee/spear/handle/12.png?replace;890900=676767;e5323b=b1b1b1;ff7060=e9e9e9"}}' For future reference, you can use a site such as https://jsonlint.com/ and give it the parts in ' (single quotes), it'll find the errors for you