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

ambient_occlusion_exponent field in blocks.json disappeared from all vanilla resources

XMLWordPrintable

    • Confirmed
    • Multiple
    • 1332639

      The ambient_occlusion_exponent field in blocks.json has been completely removed from all vanilla resources in 1.21.50.28, and the broken brightness_gamma field has returned for some blocks, despite being removed in 1.21.50.25.

      This causes many block sets to be inconsistent with each other, despite the previous changes from 1.21.50.25 fixing this issue. It also caused a regression of MCPE-177356 and MCPE-184909.

      This is a regression which blocks MCPE-187777 (inconsistent AO values for certain block sets). The table below takes MCPE-187777 into account and provides consistent values for all block IDs.

      List of Affected Files and Block IDs

      blocks.json File Block IDs Intended AO Value Has Outdated brightness_gamma Field
      vanilla glowingobsidian
      leaves
      leaves2
      nether_brick
      nether_brick_fence
      nether_brick_stairs
      obsidian
      red_nether_brick
      red_nether_brick_stairs
      red_sandstone
      sand
      sandstone
      snow
      snow_layer
      2.0
      0.8
      0.8
      1.0
      1.0
      1.0
      2.0
      1.0
      1.0
      0.7
      0.55
      0.7
      1.0
      1.0













      vanilla_1.16 crying_obsidian
      nether_brick
      nether_brick_fence
      nether_brick_stairs
      red_nether_brick
      red_nether_brick_stairs
      respawn_anchor
      2.0
      1.0
      1.0
      1.0
      1.0
      1.0
      2.0






      vanilla_1.19.0 mangrove_leaves 1.0
      vanilla_1.20.0 cherry_leaves
      suspicious_sand
      1.0
      0.55

      vanilla_1.20.70 acacia_leaves
      birch_leaves
      dark_oak_leaves
      jungle_leaves
      oak_leaves
      spruce_leaves
      0.8
      0.8
      0.8
      0.8
      0.8
      0.8





      vanilla_1.21.0 nether_brick_slab
      sandstone_slab
      1.0
      0.7

      vanilla_1.21.10 cut_sandstone_double_slab
      cut_sandstone_slab
      cut_red_sandstone_double_slab
      cut_red_sandstone_slab
      nether_brick_double_slab
      red_nether_brick_double_slab
      red_nether_brick_slab
      red_sandstone_double_slab
      red_sandstone_slab
      sandstone_double_slab
      smooth_sandstone_double_slab
      smooth_sandstone_slab
      smooth_red_sandstone_double_slab
      smooth_red_sandstone_slab
      0.7
      0.7
      0.7
      0.7
      1.0
      1.0
      1.0
      0.7
      0.7
      0.7
      0.7
      0.7
      0.7
      0.7













      vanilla_1.21.20 chiseled_red_sandstone
      chiseled_sandstone
      cut_red_sandstone
      cut_sandstone
      red_sand
      red_sandstone
      sand
      sandstone
      smooth_red_sandstone
      smooth_sandstone
      0.7
      0.7
      0.7
      0.7
      0.55
      0.7
      0.55
      0.7
      0.7
      0.7









      vanilla_1.21.30 nether_brick_wall
      red_nether_brick_wall
      red_sandstone_wall
      sandstone_wall
      1.0
      1.0
      0.7
      0.7



      vanilla_1.21.50 pale_oak_leaves 1.0

      Expected Result

      ambient_occlusion_exponent remains present in all vanilla resources on the same blocks as 1.21.50.25. brightness_gamma is not present.

      Observed Result

      ambient_occlusion_exponent field has vanished from all the vanilla resources, and the broken brightness_gamma field has returned.

      Also, the hard-coded brightness_gamma values are back, and ambient_occlusion_exponent in a resource pack cannot overwrite them (MCPE-188221).

            AgentMindStorm2 AgentMindStorm2
            Votes:
            9 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: