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

Outdated block ID content errors for blocks.json have omissions and a false positive

XMLWordPrintable

    • Unconfirmed
    • Multiple

      In 1.21.30, the format_version of blocks.json is now used to find outdated block IDs used in the file. These outdated IDs appear as content errors in the Creator Content Log.

      However, the content log messages are not always correct. There are both false positives and omissions.

      For example, "terracotta" is counted as an outdated ID instead of "stained_hardened_clay". It should not be possible to have "outdated block ID" and "not in registry" errors for the same ID, but "terracotta" does:

      False Positives

      These block IDs throw errors when they shouldn't.

      Block ID Notes
      terracotta This ID has never been used for a block on Bedrock Edition. It was included in the list instead of "stained_hardened_clay".

      Omissions

      In addition, many changed IDs are missing from this error reporting. These block IDs should throw errors, but don't.

      Block ID New Block IDs Changed in... Notes
      concretePowder black_concrete_powder
      blue_concrete_powder
      brown_concrete_powder
      cyan_concrete_powder
      gray_concrete_powder
      green_concrete_powder
      light_blue_concrete_powder
      light_gray_concrete_powder
      lime_concrete_powder
      magenta_concrete_powder
      orange_concrete_powder
      pink_concrete_powder
      purple_concrete_powder
      red_concrete_powder
      yellow_concrete_powder
      white_concrete_powder
      1.20.30 The "concretePowder" ID was changed to "concrete_powder" in 1.18.30, but blocks.json still accepts concretePowder.
      grass grass_block 1.21.0? "grass_block" is never used in a vanilla blocks.json, but it is fully functional.
      Since this is the ID used in commands, it should also be the preferred ID in blocks.json.
      invisibleBedrock invisible_bedrock 1.18.30  
      movingBlock moving_block 1.18.30  
      pistonArmCollision piston_arm_collision 1.18.30  
      seaLantern sea_lantern 1.18.30  
      stained_hardened_clay black_terracotta
      blue_terracotta
      brown_terracotta
      cyan_terracotta
      gray_terracotta
      green_terracotta
      light_blue_terracotta
      light_gray_terracotta
      lime_terracotta
      magenta_terracotta
      orange_terracotta
      pink_terracotta
      purple_terracotta
      red_terracotta
      yellow_terracotta
      white_terracotta
      1.20.30 This is the true unsplit ID for stained terracotta, instead of "terracotta". It does not throw any errors when used currently.
      stickyPistonArmCollision sticky_piston_arm_collision 1.18.30  
      tripWire trip_wire 1.18.30  
      yellow_flower dandelion 1.21.20  

      Expected Result

      All outdated block IDs throw errors when used in blocks.json with a format_version of 1.21.30 or later. False positives do not occur.

      Observed Result

      Some outdated block IDs still do not throw errors when used in blocks.json. False positives occur with the "terracotta" ID.

            AgentMindStorm2 AgentMindStorm2
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: