Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
component:redstone [2021/09/29 06:54]
hawk777 Fix redstone orientation
component:redstone [2021/09/29 07:32] (current)
hawk777 old revision restored (2018/11/04 06:42); my change was not quite right
Line 27: Line 27:
   Note that the table returned is zero based. That is because the keys of the table are the ordinal values of the sides, and `sides.bottom` is 0.  ​   Note that the table returned is zero based. That is because the keys of the table are the ordinal values of the sides, and `sides.bottom` is 0.  ​
  
-  ​For a computer or server, ​the side is relative to the computer'​s orientation,​ i.e. `sides.frontshould be used for *in front of the computer*. Likewise, `sides.left` is to the left of the computer, so when you look at the computer'​s front, it'll be to your right. ​For robots and redstone I/O blocks, the side is absolute, i.e. `sides.north` should be used for the north face of the block, regardless of how the block has been rotated.+  ​Note also that the side is relative to the computer'​s orientation,​ i.e. `sides.southis *in front of the computer*, not south in the world. Likewise, `sides.left` is to the left of the computer, so when you look at the computer'​s front, it'll be to your right. ​ 
  
   If you use mods such as RedLogic the input may exceed the vanilla values of [0, 15].   If you use mods such as RedLogic the input may exceed the vanilla values of [0, 15].