mojira.dev
MC-269421

Interaction entities CustomNameVisible field is misleading

When set to false, custom names on interaction entities still display when looked at. This behavior first appeared in the update where boats & minecarts were given visible names when looked at. This behavior should not apply to interaction entities since they are development tools like markers.

 

Steps to Reproduce:
1. Type

/summon interaction ~ ~ ~ {CustomNameVisible:0b,CustomName:'{"text":"Hello"}'}

 

2. Look down to see the custom name is visible when looked at

 

Expected Results:

Setting CustomNameVisible to 0b should hide the name

Comments 3

I am just someone who likes minecraft

Adjusting the CustomNameVisible attribute to 1 results in the name being continuously visible. Conversely, setting it to 0 makes the name visible only when the entity is targeted (looked at). I fail to identify any issue here. Markers exhibit identical behavior to other entities.

Markers do not display names when CustomNameVisible is set to 0

Confirmed in 1.21

phaic

(Unassigned)

Confirmed

Platform

Low

Commands

1.20.4, 24w11a, 24w12a

Retrieved