Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-229977

Breaking blocks with pistons on the east/west direction causes significant lag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.18 Pre-release 5
    • 1.17, 1.17.1 Pre-release 1, 1.17.1
    • None
    • Confirmed
    • Performance
    • Important

    Description

      The bug

      Blocks that break when a piston tries to push them like moss blocks, that also have something else that breaks right after the one below breaks, like tall grass, where the piston is facing east/west causes the game to have a huge lag spike. On the north/south direction it causes a lag spike, but it's far far worse on the east/west direction. It's much worse than it was in 1.16.

      West:

      North:

      How to reproduce

      1. /fill ~ ~ ~ ~ ~ ~4 minecraft:piston[facing=west]
      2. Place moss blocks below the pistons, and below their heads (see 2021-06-23_11.21.50.png)
      3. Place blocks above the pistons, and redstone above those blocks
      4. Place tall grass on the moss blocks below the fronts of the piston heads
      5. Place a redstone block above the redstone above the pistons

      Attachments

        1. 2021-06-23_11.21.50.png
          2021-06-23_11.21.50.png
          5.64 MB
        2. image-2021-06-22-19-08-40-265.png
          image-2021-06-22-19-08-40-265.png
          988 kB
        3. image-2021-06-22-19-19-30-546.png
          image-2021-06-22-19-19-30-546.png
          1.58 MB
        4. image-2021-06-22-19-20-02-408.png
          image-2021-06-22-19-20-02-408.png
          1.51 MB
        5. MC-229977.mp4
          6.40 MB

        Activity

          People

            gnembon [Mojang] Gnembon
            end99 end99
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: