mojira.dev
MC-272804

The mining fatigue animation plays in reverse

The Bug:

The mining fatigue animation plays in reverse.

The elder guardian particle (the mining fatigue animation) now starts from the bottom of the screen and moves to the top. This issue first appeared in 1.21 Pre-Release 1 and was not present in 1.20.6.

Steps to Reproduce:

  1. Summon the "elder_guardian" particle by using the command provided below.

    /particle minecraft:elder_guardian
    /particle minecraft:elder_guardian
  2. Watch it closely.

Observed Behavior:

The mining fatigue animation plays in reverse.

Expected Behavior:

The mining fatigue animation would not play in reverse.

Attachments

Comments 2

I can confirm this issue. Did it first appear in 24w21a? From code analysis (Yarn mappings), I see what seems to be a related change that isn't the cause of the issue.

The scaling of the particle was changed within the ElderGuardianAppearanceParticle#buildGeometry method in Minecraft snapshot 24w21a:

@Override
public void buildGeometry(VertexConsumer vertexConsumer, Camera camera, float tickDelta) {
	// ...

	MatrixStack matrices = new MatrixStack();
	matrices.multiply(camera.getRotation());
	matrices.multiply(RotationAxis.POSITIVE_X.rotationDegrees(150 * progress - 60));

	// Previously: matrices.scale(-1, -1, 1);
	matrices.scale(1, -1, -1);

	// ...
}
@Override
public void buildGeometry(VertexConsumer vertexConsumer, Camera camera, float tickDelta) {
	// ...

	MatrixStack matrices = new MatrixStack();
	matrices.multiply(camera.getRotation());
	matrices.multiply(RotationAxis.POSITIVE_X.rotationDegrees(150 * progress - 60));

	// Previously: matrices.scale(-1, -1, 1);
	matrices.scale(1, -1, -1);

	// ...
}

@unknown I can confirm that this issue is in 24w21a as well.

user-08a0e

Avoma

gegy

Confirmed

Platform

Important

Rendering

1.21 Pre-Release 2, 1.21, 1.21 Release Candidate 1

24w33a

Retrieved