#Animations playing for all players on Vanilla server
1 messages · Page 1 of 1 (latest)
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?
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
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