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

Block transformation component sometimes doesn't remap specified adjacent culling direction

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
    • Confirmed
    • Windows
    • 1238574

      Typically, when rotating a block using the minecraft:transformation component, face directions in associated block culling rules files are adjusted to match the rotation. However, the adjacency face sometimes isn't updated. It is unknown under what all circumstances this occurs. The face to cull is seemingly always correctly updated.

      In the attached world (Rotated Culling Bug.mcworld), the working example is set above both blue and green concrete. The bugged example is set above red and yellow concrete. All custom blocks have been scaled to more easily demonstrate the culling.

      The blue example shows how the culling is intended to work, with north-adjacent blocks triggering north face culling:

      The green example also illustrates that culling should not (and correctly does not) occur when a block is placed along the east direction:

      The red example demonstrates that north-adjacent blocks do not trigger culling on the bugged example:

      The yellow example shows culling incorrectly applied on the north face when an east-adjacent block is placed:

      Both block definitions are also directly attached:

      working.json
      bugged.json

      Note that both the working and bugged blocks use duplicated (but exactly equal) geometries and block culling rules. This is due to some other bug, but it's been difficult to track down what issue occurs when both blocks use the same geometry and culling rules.

        1. bugged.json
          0.5 kB
          Christopher Cook
        2. Bugged Culled.png
          2.06 MB
          Christopher Cook
        3. Bugged Unculled.png
          2.53 MB
          Christopher Cook
        4. Rotated Culling Bug.mcworld
          48 kB
          Christopher Cook
        5. working.json
          0.5 kB
          Christopher Cook
        6. Working Culled.png
          2.47 MB
          Christopher Cook
        7. Working Unculled.png
          1.85 MB
          Christopher Cook

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

              Created:
              Updated:
              Resolved:
              CHK: