Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-269801

Item display entities with a scale of 0 on the z-axis render darkened

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 2, 1.20.5 Pre-Release 4, 1.20.5 Release Candidate 1, 1.20.5 Release Candidate 2, 1.20.5 Release Candidate 3, 1.20.5, 1.20.6
    • None
    • Confirmed
    • Commands, Rendering
    • Normal
    • Platform

      Description

      When an item display entity with scale: [X, Y, Z] and Z = 0.0f is summoned into the world, the entity is displayed as darkened (see example image), even when the light level around should make it appear bright. Setting brightness:{sky:15,block:15} has no effect on this behavior. This effect does not happen in version 1.20.4.

       

      Steps to reproduce:

      1. Summon a display entity with scale z=0:

      /summon minecraft:item_display ~ ~5 ~ {item:{id:"minecraft:paper",count:1s},brightness:{sky:15,block:15},billboard:"fixed",interpolation_duration:0,start_interpolation:0, transformation: {left_rotation: [0.0f, 0.0f, 0.0f, 1.0f], translation: [0.0f, 0.0f, 0.0f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [10.0f, 10.0f, 0.0f]}}

      2. Summon another display entity with the same command, but set scale z=0.01 (or any other value):

      /summon minecraft:item_display ~ ~5 ~ {item:{id:"minecraft:paper",count:1s},brightness:{sky:15,block:15},billboard:"fixed",interpolation_duration:0,start_interpolation:0, transformation: {left_rotation: [0.0f, 0.0f, 0.0f, 1.0f], translation: [0.0f, 0.0f, 0.0f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [10.0f, 10.0f, 0.01f]}}

        1. Example 1-1.png
          389 kB
          Ercerus
        2. javaw 2024-03-23 17-21-59-483.mp4
          8.07 MB
          limingyang3222

            Unassigned Unassigned
            Ercerus Ercerus
            Votes:
            7 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: