[MC-5726] Sticky pistons do not retract a block which they have pushed when given a short pulse Created: 03/Jan/13 Updated: 09/May/20 Resolved: 10/Nov/15 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Snapshot 13w01a, Snapshot 13w05b, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 1.8.2-pre4, Minecraft 1.11.2 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jake | Assignee: | [Mojang] Jeb (Jens Bergensten) |
| Resolution: | Works As Intended | Votes: | 1 |
| Labels: | clock, grab, pull, pulse, rapid, redstone, redstone_block, retract, sticky_piston, tick | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Resolution note jeb resolved this report as "Works As Intended". He also commented roughly one year later as response to the following: Panda4994 (source):
Jeb (source):
The bugWhen a sticky piston is powered with a very short pulse ("0-tick pulse"), it will push the block, but not retract it. To reproduceBuild the contraption in this screenshot: After 1.14, it is also possible to reproduce this by placing a button on the side of a sticky piston, and press the button to move a block. |
| Comments |
| Comment by [Mod] violine1101 [ 25/Jan/20 ] |
|
I edited the ticket for better searchability. This does not change anything about the fact that this behaviour is intended. |
| Comment by Daniel Burnett [ 10/Nov/15 ] |
|
It makes perfect sense flavor-wise; a quick pulse pulls so hard it detaches the block, like a fast tug. That said, gameplay is more important than realism, so it doesn't matter if it "makes sense" as long as it's useful. In most cases, if you're getting a 1-tick-pulse into a sticky piston, it's because you're trying to cause this behavior. And it's used a lot, for example as a form of T-flip-flop. So, yeah, I'm glad it's marked as WAI because if it changed, it'd break builds, whereas having it in doesn't break anything. |
| Comment by qmagnet [ 08/Sep/15 ] |
|
I can tell you a TON of people use this. TONS. However, no need to continue the conversation. I'm not sure why it affects you anyway. Sticky pistons can work with only sticking with anything more than a tick. Both mechanics work currently. If you'd like to continue this conversation, hit me up on twitter. |
| Comment by KingSupernova [ 08/Sep/15 ] |
|
Just because a few people use it doesn't mean it should stay in the game. It doesn't make any sense storyline-wise, why would sticky pistons stop being sticky for a moment? And while it can be helpful in some cases, it causes more problems than it solves. |
| Comment by fienxjox [ 07/Sep/15 ] |
|
qmagnet and KingSupernova The ticket has been flagged for review by Mojang to determine if it is an intended (or now desired) feature, it is up to them to make that decision. |
| Comment by qmagnet [ 06/Sep/15 ] |
|
KingSupernova, this "bug" is indeed a feature many many many players use. Removing it would essentially destroy a lot of mechanics. |
| Comment by KingSupernova [ 27/Jan/15 ] |
|
Confirmed for 1.8.2 pre-4. I really hope this is fixed. While bugs like this one and |
| Comment by [Mod] Torabi [ 25/Aug/14 ] |
|
All that shows is that players are aware of the behavior. The wiki is not maintained or moderated by Mojang, and thus cannot be considered a statement of intent by them. Only a statement made by one of the developers, such as a tweet, comment on the tracker, blog posting, video, forum post, etc. would constitute proof. Or one of them can resolve the ticket themselves. We've been given explicit instructions not to resolve tickets as Works As Intended without proof. |
| Comment by qmagnet [ 20/Aug/14 ] |
|
Found some info on it. I'm not sure if you will accept it as evidence They call it the "1-wide Sticky Piston TFF" http://minecraft.wikia.com/wiki/Redstone_Circuits |
| Comment by [Mod] Torabi [ 20/Aug/14 ] |
|
People using it in no way proves that it's intended. In fact, |
| Comment by qmagnet [ 20/Aug/14 ] |
|
This is intended and is featured in many redstone contraptions. Some call it a T flip flop. Depending on if the pulse is extremely brief, the sticky piston will actually leave the block in place. And it may pull it back on the next activation. A quick search on youtube shows this being featured |
| Comment by [Mod] Torabi [ 03/Feb/14 ] |
|
Do you have a link to an official statement to back that up? It's not even documented on the wiki. |
| Comment by Carl Bryan Samson [ 03/Feb/14 ] |
|
This is actually not a bug but a 'feature', it is actually meant to be like this. |
| Comment by fienxjox [ 03/Feb/14 ] |
|
Ok, tested for ~4 hours here using a standard ender-ender, with a command block killing all enderman every ~45 seconds. For those interested, the design alternates redstone with repeaters to ensure each piston fires individually. After 4 hours I found a total of 9 (out of 272) pistons that had not retrieved their block, all of which were just the redstone, none with the repeater if that makes sense. What this tells me is that if for some reason the piston is set off for just one block (as WolfieMario says) is setoff for just one tick, it leaves the block, while 99% of the time the pressure plates on mob farms give at least two ticks and thus don't leave the block. Based on this, my initial thinking is that if mobs land just barely on the edge of the pressure plate, they get a single tick and leave the block, otherwise they last long enough the piston retracts. As far as fixes go, either a player needs to take this into account and use a repeater going into pistons everywhere this happens (and thus 3x the redstone), or some sort of more complex and/or accurate (depending on perspective) timer on the pressure plates. While the latter might be easier in theory for the player, I'm going to switch all of my farms to all repeaters and no single-pieces of redstone to work around this at least for now, despite the cost. Further input/testing welcome of course... |
| Comment by Jake [ 03/Jan/13 ] |
|
Oh, I gotcha. In that case I'll close this up, if possible. |
| Comment by WolfieMario [ 03/Jan/13 ] |
|
It's ordinary for sticky pistons to do this when powered for a single tick, and is in fact crucial to many designs (I think Mojang has stated that this is considered a feature). You can achieve the same results by placing an ordinary block in that location, and using another repeater and a torch to push power into it. |