#Animations playing for all players on Vanilla server

1 messages · Page 1 of 1 (latest)

hollow tide
#

Since I don't know what are you trying to do, I can not tell that.

Player animator does not do any networking, maybe your mod works incorrectly.

leaden onyx
#

I think I understand what I'm doing wrong, but first answer me one thing

I created a class where I store all the functions, methods there statically, and I'm using it in my mixins, would it be right to use an interface and implement it in the player mixin class instead?

hollow tide
#

If possible, create static or public methods outside mixins.

But if you use something player specific you might want to store that in a player mixin.

for example player specific animation state

in player mixin, method names might conflict, be careful with that too!
Maybe the best option is to create a public class with player animation state, etc, and construct one for every player

leaden onyx
#

Ah, now I understand, really, I had forgotten to create an object for each player, thank you very much! i was using a static class for everyone so all players were playing animations

leaden onyx
#

Perfect, now each one has its own animation and state, I just have to find out why it's not getting the player's speed correctly now, even when walking the player remains idle