Reproduction steps:
- useĀ
/give @p minecraft:creeper_spawn_egg{EntityTag:{CustomName:' {"text":"test"} ',CustomNameVisible:1b,NoAI:1b}}
- andĀ
/give @p minecraft:creeper_spawn_egg{EntityTag:{CustomName:' {"text":"deadmau5"}',CustomNameVisible:1b,NoAI:1b}}
- place both spawn eggs
- result: you can see that the nametag height is different when the entity is named "deadmau5".