Custom Animations on 2023

Started by ninjawizard1234 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Animations on 2023

this was my snake animation on minecraft 1.16, im trying to update my mod to minecraft 1.20, but everything changed (again) and all thse animations commands dont work anymore :

public void setRotationAngles(Entity e, float f, float f1, float f2, float f3, float f4) {
			//this.Head.rotateAngleY = f3 / (180F / (float) Math.PI);
			//this.Head.rotateAngleX = f4 / (180F / (float) Math.PI);
			//this.MouthUp.rotateAngleX = f3 / (180F / (float) Math.PI);

			this.Body.rotateAngleY = MathHelper.cos(f * 0.5F) * 0.5F * f1 -0.3491F;
			this.bone0.rotateAngleY = MathHelper.cos(f * 0.5F) * 0.5F * f1 -0.3491F;
			this.bone1.rotateAngleY = MathHelper.cos(f * 0.5F) * 0.5F * f1 -0.3491F;
}
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
anybody knows how can we do…
Thu, 11/16/2023 - 07:50

anybody knows how can we do on 2023 now? its a snake so i cant use the Mcreator stand animations, need to be custom code.

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i notice MathHelper dont…
Thu, 11/16/2023 - 08:06

i notice MathHelper dont exit anymore now :/ i have no idea how to do now lol cant update my mod :(