mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-08-04 03:27:19 -04:00
Updated Blocks (markdown)
parent
09e3d3ea73
commit
9222040b2c
@ -10,7 +10,7 @@ This block allows interfacing with all kinds of blocks, as long as a driver is m
|
||||
|
||||
If you're a modder it's pretty easy to write a driver, you just have to implement the corresponding interface from the API and register it with OpenComputers in the init phase. Have a look at the implementation of the built-in drivers for in-depth reference, if you find the documentation is insufficient.
|
||||
|
||||
The Adapter 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 [[Network Card|Items#network-card]] is installed. It will also 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 Adapter 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 [[Network Card|Items#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`.
|
||||
|
||||
Cable
|
||||
-----
|
||||
|
Loading…
x
Reference in New Issue
Block a user