Guest User

Untitled

a guest
Jan 25th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. (x) is a piston
  2. [x] is a redstone block
  3. --] is a piston extension
  4.  
  5. I built the wall of redstone from the bottom up (after I had placed the pistons so that everything below the top row of pistons was in a BUD state.
  6.  
  7. (a)[a]
  8. (b)[b]
  9. (c)[c]
  10. (d)[d]
  11.  
  12. I expected the pistons themselves to produce block updates as they extended or retracted. For example, updating (d) would have done this:
  13.  
  14. (a)[a]
  15. (b)[b]
  16. (c)[c]
  17. (d)--][d]
  18.  
  19. (a)[a]
  20. (b)[b]
  21. (c)--][c]
  22. (d)--][d]
  23.  
  24. (a)[a]
  25. (b)--][b]
  26. (c)--][c]
  27. (d)[d]
  28.  
  29. (a)[a]
  30. (b)--][b]
  31. (c)[c]
  32. (d)[d]
  33.  
  34. (a)[a]
  35. (b)--][b]
  36. (c)[c]
  37. (d)--][d]
  38.  
  39. However, only (d) extended.
  40.  
  41. Starting with the initial wall and updating (c) and (b), in that order, you end up with:
  42.  
  43. (a)[a]
  44. (b)--][b]
  45. (c)--][c]
  46. (d)[d]
  47.  
  48. Once (b) is extended, (c) is no longer powered. We know that pistons do not update when extending, otherwise (c) would have already retracted. If (c) is updated, it will retract [c] which will power (d), so it is expected that (d) will extend when we update (c):
  49.  
  50. (a)[a]
  51. (b)--][b]
  52. (c)[c]
  53. (d)--][d]
  54.  
  55. However, (d) did not extend.
  56.  
  57. To determine that pistons only produce updates when they retract, you can place two pistons next to each other, force one into a BUD state, and then toggle the other one. You can also a block for the piston you are toggling to push and pull to verify that it does not prevent block updates. The logical conclusion is that the update is produced before the redstone block that is being pulled is in place.
Advertisement
Add Comment
Please, Sign In to add comment