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

Light block IDs flattened incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.50.22 Preview, 1.21.40.21 Preview, 1.21.20.24 Preview, 1.21.20.21 Preview, 1.21.30.21 Preview, 1.21.20, 1.21.30.23 Preview, 1.21.21 Hotfix, 1.21.30
    • Confirmed
    • Multiple
    • 1261902

      The Light Block flattening in 1.21.20.21 was done incorrectly. All 16 light blocks use the same ID on Java Edition, unlike Bedrock 1.21.20, where Light was given 16 different IDs.

      Expected Result

      Light block ID undergoes the following change:

      light_block -> light["level"=#]

      Original ID New ID
      light_block:0 light["level"=0]
      light_block:1 light["level"=1]
      light_block:2 light["level"=2]
      light_block:3 light["level"=3]
      light_block:4 light["level"=4]
      light_block:5 light["level"=5]
      light_block:6 light["level"=6]
      light_block:7 light["level"=7]
      light_block:8 light["level"=8]
      light_block:9 light["level"=9]
      light_block:10 light["level"=10]
      light_block:11 light["level"=11]
      light_block:12 light["level"=12]
      light_block:13 light["level"=13]
      light_block:14 light["level"=14]
      light_block:15 light["level"=15]

      The new light block ID has a "level" property from 0 to 15 to determine its brightness.

      This change would match Java Edition.

      Observed Result

      The light block ID underwent the following change:

      light_block -> light_block_#, where # is the light level emitted by the block.

      Original ID New ID
      light_block:0 light_block_0
      light_block:1 light_block_1
      light_block:2 light_block_2
      light_block:3 light_block_3
      light_block:4 light_block_4
      light_block:5 light_block_5
      light_block:6 light_block_6
      light_block:7 light_block_7
      light_block:8 light_block_8
      light_block:9 light_block_9
      light_block:10 light_block_10
      light_block:11 light_block_11
      light_block:12 light_block_12
      light_block:13 light_block_13
      light_block:14 light_block_14
      light_block:15 light_block_15

      TheĀ "level" property does not exist.

      This does not match Java Edition.

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

              Created:
              Updated:
              CHK: