mojira.dev
MC-174356

End Crystal shows its hitbox positioned at its BeamTarget coords if there is no Dragon

The bug

If an end crystal has a BeamTarget set, its hitbox (when shown with F3+B) will render at the location of the BeamTarget instead of the location where the crystal actually is at.

Video

[media]

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

Attachments

Comments 5

Affects 1.15.2 as well.

Can confirm in 1.17.1.

Can confirm in 22w15a. This also seems to move its shadow to the target coordinates as well.

i think that is because of a typo in client\net\minecraft\client\renderer\entity\EndCrystalRenderer

[media]

they did not use pushPose&popPose before&after here.

 

maybe MC-200563 is because of it too?

 

Can confirm in 23w03a

FACS01

(Unassigned)

Confirmed

Debug, Rendering

end_crystal, hitbox

1.15.2, 20w10a, 20w11a, 20w12a, 20w13a, ..., 1.19.2, 23w03a, 1.20.2, 23w46a, 1.20.4

Retrieved