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.
Linked issues
is duplicated by 9
relates to 1
Attachments
Comments 12
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)
[media]
If you place a block next to the pistons that aren't extending, do they update and extend?