Metamorph

Metamorph

4M Downloads

Can't config mo'creatures mobs to fly

VoidFyre opened this issue ยท 4 comments

commented

I'm putting everything in the morphs.json file correctly. I just can't get it to work. My file looks like this.
{
"mocreatures.Bee": {
"abilities": ["fly"],
"action": "",
"health": 4,
"speed": 0.15
}
"mocreatures.DragonFly": {
"abilities": ["fly"],
"action": "",
"health": 4,
"speed": 0.15
}
"mocreatures.Fly": {
"abilities": ["fly"],
"action": "",
"health": 4,
"speed": 0.15
}
"mocreatures.ButterFly": {
"abilities": ["fly"],
"action": "",
"health": 4,
"speed": 0.15
}
"mocreatures.FireFly": {
"abilities": ["fly"],
"action": "",
"health": 4,
"speed": 0.15
}
"mocreatures.Roach": {
"abilities": ["fly"],
"action": "",
"health": 4,
"speed": 0.15
}
"mocreatures.Wyvern": {
"abilities": ["fly"],
"action": "",
"health": 40,
"speed": 0.15
}
}

commented

Your json grammar is missing commas between the morph settings. You can check whether the json you have written is valid by pasting the entire contents of your morphs.json file into this website:
http://www.jsoneditoronline.org/

I also recommend you delete your morphs.json so the defaults are reloaded, and then add your settings onto the existing morphs.json file, so it's easy to change vanilla morph settings if you want. Also, keep in mind that if you add a morph setting entry, but don't include a value, the player value will be used.

commented

I'm on the latest version of forge for 1.10.2, and the latest version of mo'creatures.

commented

Also, adding to @asanetargoss great tips, you gotta restart Minecraft after every edit of the morphs.json. I know it's very tedious, but... reloadable configs will be available in the next release.

commented

Do you have the full config for mo'creatures? I've spent some time browsing through the source, but if someone already has the right config for making metamorph work with mo'creatures, that'd save a bunch of time.