[MC-10677] Pistons fire more than once per tick / block teleporting Created: 01/Mar/13  Updated: 02/May/17  Resolved: 17/Mar/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w09c
Fix Version/s: Minecraft 1.5

Type: Bug
Reporter: Jonathan Haas Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: block, piston, visual
Environment:

All


Attachments: PNG File 2013-03-01_21.52.12_2.png     PNG File 2013-03-01_21.52.13.png     PNG File 2013-03-01_21.52.16_3.png     Zip Archive Piston Bug.zip    
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).



 Comments   
Comment by Tails [ 17/Mar/13 ]

Thanks for the update.

Comment by Jonathan Haas [ 17/Mar/13 ]

Seems to be fixed in 1.5, can't reproduce anymore.

Generated at Sun Jan 12 12:25:10 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.