Closed WenXin20 closed 4 years ago
That model is strange, it looks as though I've somehow reversed things.
Re: the crash, I'm not entirely sure what's happening. I'm going to presume it's some sort of race condition.
I fixed it!
Thanks!
(That was a joke, I made it worse, but I worked out how to fix it.)
Okay, so I've pushed a fix for the model and I'm going to release an update. I think I've also covered the area where spamming silkworm eggs and them trying to eat each other causes the game to crash with a null check (of sorts). I'm not sure if that 100% solves your issue though, so I'll leave this open.
Oh, lol, thanks! I'll give it a try when I get the chance.
The crash seems to be fixed, although I've noticed that when they attack each other, their movements are quite jerky, as if they are lagging. Other mobs are moving normally.
Also their hitbox might be a little too big, and is it intended that they kill each other in one hit? Even if one is twice as big as the other?
Oh, those are really good examples! It was intended that they kill each other in one hit, but it should be the larger one killing the smaller ones. I'll reduce the speed of the melee attack goal to match the random walking goal (half the speed) to see if that helps with the jerkiness.
Okay, killing a silkworm now causes the larger silkworm to grow, and the larger silkworm will cannibalize the smaller ones (rather than the other way around). The melee attack is a bit smaller now.
Their hitbox at the minute is designed to be relatively large as there were issues with too-small hitboxes being stacked together in the same place causing a lot of lag when it came to random movement and pathing. I think most of that should be resolved with the cannibalism though...
Thanks, sounds good
General Information
Describe the bug:
- I spawned in multiple silk worm with a spawn egg, and then crashed. Also, the Silk Worm model looks squished. - Possibly related to Performant. **To Reproduce:**Expected behavior:
- No crashes, and the silk worm shouldn't look squished. *** ### Environment VersionsMystic Mods Versions
Mystical Lib: v2.0.1
Mystical World v2.0.3
Other Versions:
Performant v2.11m
Forge: v31.2.31
Minecraft: v1.15.2
Logging Information
Please Use gist, paste.ee, pastebin or some other log sharing service
Crash Report: https://gist.github.com/WenXin20/3f18d926ae2add1122dc3486929b76d7
Additional Information
Screenshots: