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

Pistons fire more than once per tick / block teleporting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Snapshot 13w09c
    • Fix Version/s: Minecraft 1.5
    • Labels:
    • Environment:
      All
    • Confirmation Status:
      Unconfirmed

      Description

      (Sticky) pistons are able to fire more than once per tick, which can lead to very weird results like redstone dust that is powered on and off more than once per tick (compare MC-5778).

      Also, it allows you to move blocks more than one square in a single tick which looks like teleporting.

      And it leads to weird visual artifacts.

      I have attached a test world where you can reproduce the problem.

      Place one block in the middle between the pistons and it will move through all 4 positions in a single tick.

      Place two blocks diagonally to each other and they will swap places every tick.

      Suggested fix: Pistons should behave like one-tick-repeaters and only check once per tick if they should be extended or not.

      Note that this bug is limited to sticky pistons. Replace the pistons with normal ones, and it will behave better, although you will be probably affected by invisible blocks (MC-5774).

        Attachments

        1. 2013-03-01_21.52.12_2.png
          2013-03-01_21.52.12_2.png
          125 kB
        2. 2013-03-01_21.52.13.png
          2013-03-01_21.52.13.png
          125 kB
        3. 2013-03-01_21.52.16_3.png
          2013-03-01_21.52.16_3.png
          124 kB
        4. Piston Bug.zip
          136 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jonathanhaas Jonathan Haas
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: