I can't assign multiple attributes to dragon breeds
CraftingC opened this issue ยท 4 comments
I can't assign multiple attributes to dragon breeds in the .json files, because if I use a comma "," it doesn't change any attributes and If I use nothing to seperate them like in the example addon it refuses to load. I don't really hve much experience coding and am confused, why nothing is working. I would appreciate, if someone told me what I'm doing wrong.
Thanks in advance!
Example comma:
"attributes": {
"minecraft:generic.armor": 8.0,
"minecraft:generic.movement_speed": 0.7
}
Yeah.. the wiki there is meant to have comma seperated values.
"attributes": {
"minecraft:generic.armor": 8.0,
"minecraft:generic.movement_speed : 0.7
}
Is the correct way of defining it. The last entry DOES NOT have a comma, as per json syntax. Remember if you define more features after attributes you have a comma after the ending curly brace }
If you send here your whole json I'd be happy to look at it and help!
I think I found the Problem
I used generic.movement.speed
instead of generic.movement_speed
It's supposed to have and underscore