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

Block transformation component sometimes treats schematic as unit cube

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.21.20.21 Preview, 1.21.20
    • 1.20.70.22 Preview, 1.20.70.21 Preview, 1.20.80.20 Preview
    • None
    • Community Consensus
    • Windows
    • 1242423

      The minecraft:transformation component sometimes treats a block's schematic as a unit cube when it shouldn't. This causes the component to incorrectly error, saying that the given geometry is outside the safe zone for custom blocks.

      This is most easily seen with a slab centered on the block space. Scaling this geometry twice is supposed to extend the model to be a full block. This correctly occurs when the minecraft:geometry component is in root components with no bone visibility entries. However, when a minecraft:geometry component would be given in any permutation (no matter the condition) or even when a root-level geometry component would provide bone visibility entries, a content log error is issued, and the block is visually replaced with an update block.

      Attached is Transformed Schematic.mcworld, demonstrating both working and bugged examples. On the blue concrete is the working example:

      The bugged example is on the red concrete:

      Both block definitions are also directly attached:

      working.json
      bugged.json

        1. bugged.json
          0.4 kB
        2. Bugged.png
          Bugged.png
          1.73 MB
        3. Transformed Schematic.mcworld
          44 kB
        4. working.json
          0.3 kB
        5. Working.png
          Working.png
          1.70 MB

            Ciosciaa Christopher Cook
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: