Topic category: Help with Minecraft modding (Java Edition)
So while making my mod everything seemed fine, I was testing the character transformation system, to see the animation and the particles and everything worked, but I kept testing for a while and I noticed that the animation doesn't play sometimes,
The times that this occur more often are when I am in first person, or in thirdperson but not looking at the mob (because the character transformation animation will only play when the player is near a mob, so the player is walking or running or doing whatever and suddenly a mob appears, the character transformation begins) and if im in third person, looking at everything happening, everything works fines.
Here is the procedure that I am using for the transformation but I looked at it, and I can't find nothing wrong or the cause of this bug:
If anything on the procedure seems weird to you, don't judge, I started not long ago lol
If anyone could help me I would be very grateful, thanks.