So I have a custom mob with unique animations. The animations are fine whenever I have just one of the mob. However, when I try to spawn multiple, they try to run all the animations at once. So for instance, is mob 1 is running animation hit, and mob two is running animation shoot, both mob 1 and 2 run both animations hit and shoot, even though mob 1 is executing the code for just animation hit and mob two is executing the code for just animation shoot. I would like for them to only run the animation of the code they are currently executing. Help would be greatly appreciated.
I took out everything shared between classes that doesn't use nbt (so just the isAttacking boolean) but the problem persists. Not sure what could be causing this.
So I have a custom mob with unique animations. The animations are fine whenever I have just one of the mob. However, when I try to spawn multiple, they try to run all the animations at once. So for instance, is mob 1 is running animation hit, and mob two is running animation shoot, both mob 1 and 2 run both animations hit and shoot, even though mob 1 is executing the code for just animation hit and mob two is executing the code for just animation shoot. I would like for them to only run the animation of the code they are currently executing. Help would be greatly appreciated.
Model class:
Entity Class:
[url ="http://www.minecraftforum.net/topic/1066990-hardcore-ender-expansion"]
[I just took the Minecraft Noob test! Check out what I scored. Think you can beat me?!
[url=http://www.minecraftnoobtest.com/test.php][/url]
To take the test, check out
[url=http://www.minecraftnoobtest.com/test.php]http://minecraftnoobtest.com/test.php[/url]
I took out everything shared between classes that doesn't use nbt (so just the isAttacking boolean) but the problem persists. Not sure what could be causing this.
[url ="http://www.minecraftforum.net/topic/1066990-hardcore-ender-expansion"]
[I just took the Minecraft Noob test! Check out what I scored. Think you can beat me?!
[url=http://www.minecraftnoobtest.com/test.php][/url]
To take the test, check out
[url=http://www.minecraftnoobtest.com/test.php]http://minecraftnoobtest.com/test.php[/url]