mojira.dev
MC-278588

Display Entity billboarding is incorrect

Item, Text and Block display entities have a 'billboarding' option, which should "control if [the] entity should pivot to face player when rendered" (quoted from the 1.19.4 changelog).

However, when enabled, the display entities do not technically do this. They instead pivot to face in the opposite direction of the player camera, which is distinctly different from facing towards the player camera. Currently, billboarding is only correct when the player camera is looking directly at the display entity.

To reproduce:

  • Start a new Minecraft world and summon a display entity with billboarding enabled:

/summon item_display ~ ~ ~ {billboard:"center",item:{id:"minecraft:diamond",count:1}}
  • While standing still and in first person mode, move the player camera and observe the display entity rotate to face opposite the player camera direction.

  • Then, without moving the camera, walk left and right and observe the display entity not rotate at all.

Expected result:

  • When moving the camera without walking, the display entity should not rotate as it should already be facing the player.

  • When moving the player without touching the camera, the display entity should rotate to constantly be facing the player.

 

The attached image demonstrates this. All of these display entities have had center billboarding enabled, but only the one in the center of the screen is actually facing the player.

Attachments

Comments 4

This matches every other instance of billboarding that exists in the game: entity names, projectiles, etc.

Seems intended, and a mistake on the changelog, rather than a mistake in the program.

That's untrue; particles like block_marker or explosions correctly billboard to the player when rendered.

They render the same in java, you just can't tell as clearly as they have no depth, unlike the item/block models. In bedrock they face the player.

I've just checked now and you're right, particles appear to render the same as other billboarding entities. Sorry about that

ThePyroGuy_

(Unassigned)

Confirmed

Platform

Low

Entities, Rendering

1.21.3, 1.21.4 Release Candidate 2, 1.21.4 Release Candidate 3, 25w02a

Retrieved