[MC-9405] Top piece of staircase redstone dust doesn't power blocks on the same height in the direction it is powered from unless only connected to something on the other side Created: 08/Feb/13  Updated: 05/May/20  Resolved: 05/May/20

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w06a, Snapshot 13w09c, Snapshot 13w10a, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w18c, Snapshot 13w19a, Snapshot 13w21b, Snapshot 13w22a, Snapshot 13w23a, Minecraft 1.6.4, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 13w48a, Minecraft 13w48b, Minecraft 13w49a, Minecraft 1.7.3, Minecraft 1.7.4, Minecraft 14w05b, Minecraft 14w06b, Minecraft 14w07a, Minecraft 14w08a, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 14w17a, Minecraft 14w18a, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.8, Minecraft 15w40b, Minecraft 15w45a, Minecraft 1.11.2, Minecraft 17w06a
Fix Version/s: 20w18a

Type: Bug
Reporter: [Mod] redstonehelper Assignee: Unassigned
Resolution: Fixed Votes: 6
Labels: piston, redstone, redstone-wire

Attachments: PNG File 2015-10-05_02.26.02.png     PNG File 2015-10-05_02.26.07.png     PNG File 2015-10-05_02.26.11.png     File BugPiston.bmp     JPEG File Clear image.jpg     PNG File RS redirect bug.png    
Issue Links:
Duplicate
is duplicated by MC-12643 Redstone wire running through a pisto... Resolved
is duplicated by MC-12811 Redstone wire running through a pisto... Resolved
is duplicated by MC-21689 piston bug with detection powered red... Resolved
is duplicated by MC-25534 Redstone dust seens to directly power... Resolved
is duplicated by MC-44063 Piston/Hopper/TNT won't power(certain... Resolved
is duplicated by MC-89855 Top piece of staircase redstone dust ... Resolved
is duplicated by MC-89866 Inconsistent piston behaviour regardi... Resolved
is duplicated by MC-100326 Diagonal piston towers behave strange... Resolved
is duplicated by MC-138049 Sticky piston bug Resolved
Relates
relates to MC-8645 Redstone wire receiving level 1 power... Resolved
relates to MC-69764 Minecraft powering bug Resolved
relates to MC-2255 Redstone wire uses different criteria... Resolved
relates to MC-3311 Transparent blocks disallow downwards... Resolved
CHK:
Confirmation Status: Confirmed
Category:
Redstone

 Description   

See attached screenshots. The piston is not powered by the redstone dust behind it even though the dust is pointing into the piston. The piston only becomes powered once you connect that piece of redstone dust with something else, like a lever/button/redstone dust/redstone block. This can be on the same level, below or above (if applicable). The piece of redstone dust may not be connected to anything on the side, otherwise the piston won't be powered either.

I'm not even going to attempt explaining what logic error caused this bug.



 Comments   
Comment by RedCMD [ 01/May/20 ]

Fixed 20w18a

Comment by RedCMD [ 25/Jul/19 ]

The bug is that when a block (or piston, redstone lamp, trapdoor etc) checks to see if redstone is pointing towards it
It actually checks to see if the dust is pointing away from it AND if its not pointing to the left or right
(Theres a seperate check to see if the dust is a dot, rather than a line)

A simple fix that works 100% is...

Inside the BlockRedstoneWire.class
At the bottom of the method getWeakPower()
Just below

                if (side.getAxis().isHorizontal() && enumset.isEmpty()) {
                    return i;
                }
                else if (enumset.contains(side) && !enumset.contains(side.rotateYCCW()) && !enumset.contains(side.rotateY())) {
                    return i;
                }

and above

                else
                {
                    return 0;
                }

add

                else if (enumset.contains(side.getOpposite())) {
                    return i;
                }

(It fixes all except the slab tower, which is another bug)

Comment by [Mojang] Jeb (Jens Bergensten) [ 10/Nov/15 ]

Won't fix because the risk is too high that something else changes behavior.

Comment by Itouch2 [ 01/May/14 ]

Confirmed for 14w18a

Comment by Itouch2 [ 04/Mar/14 ]

Still a concern in 1.7.5 and 14w08a

Comment by Marc Osborne [ 22/Apr/13 ]

due to BUD this may have to stay as is, however I have found some fun uses for it.

Comment by Mattias Kermer [ 07/Apr/13 ]

I as well am experiencing such problems with pistons although i am not sure weather or not to report it as a new bug.
(pistons powered with a redstone block forced into place above the now bugged piston, by a non effected stick piston are powering other pistons diagonally and will not retract after the power"redstone block" source is retracted "only will retract after redstone block and others nearby are destroyed" and so not helping my constant testing for a perfect fully automatic sugarcane farm)
If this is a new bug please contact me and i can provide more details and screen shots.

Comment by Tails [ 08/Feb/13 ]

Confirmed.

Comment by Marc Osborne [ 08/Feb/13 ]

Added image so its clearer for you guys.

Comment by Marc Osborne [ 08/Feb/13 ]

I was hoping it was a new way for a bud switch, but sadly no. lol

Comment by Marc Osborne [ 08/Feb/13 ]

No, they are not waiting for an update.

Comment by Anon Ymus [ 08/Feb/13 ]

If you place a block next to the pistons that aren't extending, do they update and extend?

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