mojira.dev
MC-200563

End Crystal shows its CustomName positioned at its BeamTarget coords

Related to MC-174356

Steps to reproduce

  1. Go to 0 100 0 (in any dimension)

  2. Summon an end crystal and name it, or use this command

    /summon end_crystal ~ ~ ~ {CustomNameVisible:1b,CustomName:' {"text":"Custom Name"}'}
  3. Give it a BeamTarget near by

    /data merge entity @e[type=minecraft:end_crystal,limit=1,sort=nearest] {BeamTarget:{X:5,Y:100,Z:5}}
  4. The CustomName appears at its BeamTarget coords

Also happens if the summoned end crystal has the BeamTarget included in the command

/summon end_crystal ~ ~ ~ {CustomNameVisible:1b,CustomName:'{"text":"Custom Name"}',BeamTarget:{X:5,Y:100,Z:5}}

 

[media]

 

Linked issues

Attachments

Comments 14

Interesting. I tried the command /summon end_crystal ~ ~ ~ {CustomName:"Custom Name",CustomNameVisible:true,BeamTarget:{X:0,Y:70,Z:0}} and the shadow appeared at the beam target, but the custom name didn't appear at all.

maybe you need to use CustomNameVisible:1b to make it work. and don't know if "Custom Name" works, I always write it like in json format just in case

Setting true is an allias for 1b, and adding the quotes around the key makes no difference and is only needed for keys that have non [A-Za-z0-0_-] names

I was trying to recreate the issue (and I can), and I've found that the custom name is being displayed over the entities' hitbox (press F3+B).
Because of this, it looks like this may be caused by MC-174356

Would it make sense to mark this as a duplicate report, or at least have it relate to?

4 more comments

Can confirm in 1.17.1.

Can confirm in 1.18.1.

Can confirm in 22w15a.

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-174356 is because of it too?

 

Can confirm in 23w03a

FACS01

(Unassigned)

Confirmed

Entities, Rendering

CustomName, end_crystal

1.16.3, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, ..., 23w03a, 1.19.4, 23w14a, 1.20.1, 1.20.4

Retrieved