Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
block:switch [2014/07/10 08:29]
vexatos
block:switch [2015/11/14 03:06]
tub_man [Switch]
Line 1: Line 1:
 +Switch
 +======
 {{:​blocks:​switch.png?​nolink&​128|}} {{:​blocks:​switch.png?​nolink&​128|}}
  
Line 9: Line 11:
 The Switch block also serves as a ComputerCraft peripheral, providing an interface imitating that of ComputerCraft'​s (wired) modems. It will forward network messages sent from ComputerCraft to the OpenComputers side, which can be received if a [[item:​lan_card|network card]] is installed. It will also receive OpenComputers'​ network messages and push a corresponding signal in CC computers attached to the adapter. Note that network messages in OpenComputers do not require a "​response port" like ComputerCraft does. If the first argument for the network message is a number, it will be interpreted as the response port to tell ComputerCraft receivers, otherwise the response port will be set to `-1`.  ​ The Switch block also serves as a ComputerCraft peripheral, providing an interface imitating that of ComputerCraft'​s (wired) modems. It will forward network messages sent from ComputerCraft to the OpenComputers side, which can be received if a [[item:​lan_card|network card]] is installed. It will also receive OpenComputers'​ network messages and push a corresponding signal in CC computers attached to the adapter. Note that network messages in OpenComputers do not require a "​response port" like ComputerCraft does. If the first argument for the network message is a number, it will be interpreted as the response port to tell ComputerCraft receivers, otherwise the response port will be set to `-1`.  ​
 *Note*: this functionality was available via the Adapter block before 1.1.0. *Note*: this functionality was available via the Adapter block before 1.1.0.
 +
 +The Switch is crafted using the following recipe: ​
 +  * 3 x [[block:​cable|Cable]]
 +  * 4 x Iron Ingot
 +  * 1 x [[item:​network_card|Network Card]]
 +  * 1 x [[item:​materials|Printed Circuit Board]]
 +
 +{{:​recipes:​blocks:​switch.png?​nolink&​200|}}
  
 Contents Contents
 ----------- -----------
-{{page>:​contents&​noheader&​noeditbutton&​nouser&​nofooter}}+{{page>block:​contents&​noheader&​noeditbutton&​nouser&​nofooter}}