Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-187777

Certain blocks have inconsistent/outdated ambient_occlusion_exponent values in blocks.json

XMLWordPrintable

    • Confirmed
    • Multiple
    • 1320219

      UPDATE: in 1.21.50.28, the ambient_occlusion_exponent field was mistakenly removed from all vanilla resources. This is reported as MCPE-188216—until it is fixed, this bug report is blocked.

      ======================

      In 1.21.50.25, many block IDs were given "ambient_occlusion_exponent" values (to fix MCPE-184909 and MCPE-177356).

      However, a few blocks were given incorrect values, causing their shading to have an unintended look in-game.

      Affected Block IDs

      Block ID Intended Value Current Value Notes
      cherry_leaves 1.0 0.8 Added post-Buzzy Bees - should match Java Edition brightness (1.0)
      chiseled_nether_bricks 1.0 0.8 Added post-Buzzy Bees - should match Java Edition brightness (1.0)
      cracked_nether_bricks 1.0 0.8 Added post-Buzzy Bees - should match Java Edition brightness (1.0)
      mangrove_leaves 1.0 0.8 Added post-Buzzy Bees - should match Java Edition brightness (1.0)
      nether_brick 1.0 0.8 Previously changed to use 1.0 brightness in 1.16 (Regression) - Applies to all nether bricks
      nether_brick_double_slab 1.0 0.8  
      nether_brick_fence 1.0 0.8  
      nether_brick_slab 1.0 0.8  
      nether_brick_stairs 1.0 0.8  
      nether_brick_wall 1.0 0.8  
      pale_oak_leaves 1.0 0.8 Added post-Buzzy Bees - should match Java Edition brightness (1.0)
      red_nether_brick 1.0 0.8  
      red_nether_brick_double_slab 1.0 0.8  
      red_nether_brick_slab 1.0 0.8  
      red_nether_brick_stairs 1.0 0.8  
      red_nether_brick_wall 1.0 0.8  
      sandstone_slab 0.7 1.0 Contrasts with all other sandstone blocks
      snow 1.0 0.45 Contrasts with snowy grass side and powder snow (Regression of MCPE-57022)
      snow_layer 1.0 0.45  

      Sandstone Slab

      Note: Red Sandstone Slab is already set correctly. Sandstone Double Slab is also set correctly. It is only the sandstone_slab ID which is incorrect.

      Snow and Snow Layer

      Note: The 0.45 values on snow and snow_layer are incorrect. Powder snow is correct. It is not possible to fix only the snowy grass block side without changing all grass block sides, so the snow must be changed instead.

      Nether Bricks (Brighter than 1.16)

      Expected Result

      "ambient_occlusion_exponent" values are internally consistent. Blocks added post-Buzzy Bees should be consistent with Java Edition, unless they are part of an existing block set.

      Observed Result

      "ambient_occlusion_exponent" values are not consistent for specific block IDs. Some blocks added post-Buzzy Bees are not consistent with Java Edition.

      A Note on Consistency

      In the table in this bug report, consistency with other blocks was prioritized over parity with Java Edition. That is why the following blocks were not considered bugs:

      • crying_obsidian: 2.0 matches obsidian
      • respawn_anchor: 2.0 matches obsidian
      • suspicious_sand: 0.55 matches sand

      While the nether brick configuration of 0.8 is internally consistent, it also caused a regression back to the pre-1.16 Nether Bricks. This is why Nether Bricks were listed as a bug in the table, while Suspicious Sand was not.

        1. image-2024-10-28-14-16-31-086.png
          29 kB
          ItsRichHeart
        2. image-2024-10-28-14-20-47-250.png
          7 kB
          ItsRichHeart
        3. image-2024-10-28-14-42-50-988.png
          134 kB
          ItsRichHeart
        4. nether_bricks_too_bright.png
          1.39 MB
          AgentMindStorm2
        5. sandstone_slab_different.png
          1.42 MB
          AgentMindStorm2
        6. snow_incorrect.png
          1.87 MB
          AgentMindStorm2

            AgentMindStorm2 AgentMindStorm2
            Votes:
            12 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: