Block/adapter: Difference between revisions
imported>OCDoc Import Imported from legacy OpenComputers documentation at ocdoc.cil.li |
Clean up Markdown artifacts from DokuWiki migration |
||
| Line 3: | Line 3: | ||
[[File:blocks_adapter.png|128px]] | [[File:blocks_adapter.png|128px]] | ||
Used to control non-component blocks, such as vanilla blocks or blocks from other mods. <s>You will most likely also install [ | Used to control non-component blocks, such as vanilla blocks or blocks from other mods. <s>You will most likely also install [https://github.com/MightyPirates/OpenComponents OpenComponents] to make this block more useful.</s> | ||
This block allows interfacing with all kinds of blocks, as long as a driver is made available to OpenComputers. For example, <s>OpenComponents</s> OpenComputers comes with such drivers for the vanilla Command Block and Note Block, as well as drivers for a bunch of tech mods such as BuildCraft IndustrialCraft2 and ThermalExpansion. <s>OpenComponents</s> OpenComputers will also allow the Adapter to interface with most ComputerCraft peripherals. | This block allows interfacing with all kinds of blocks, as long as a driver is made available to OpenComputers. For example, <s>OpenComponents</s> OpenComputers comes with such drivers for the vanilla Command Block and Note Block, as well as drivers for a bunch of tech mods such as BuildCraft IndustrialCraft2 and ThermalExpansion. <s>OpenComponents</s> OpenComputers will also allow the Adapter to interface with most ComputerCraft peripherals. | ||
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. <s>Have a look at the implementation of OpenComponents, if you find [ | 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. <s>Have a look at the implementation of OpenComponents, if you find [https://github.com/MightyPirates/OpenComputers/tree/master/src/main/java/li/cil/oc/api the documentation] in the interfaces is insufficient.</s> Have a look at existing implementations within [https://github.com/MightyPirates/OpenComputers/tree/master-MC1.8/src/main/scala/li/cil/oc/integration OpenComputers] if you find the documentations in the interfaces is insufficient. | ||
The Adapter is crafted using the following recipe: | The Adapter is crafted using the following recipe: | ||
| Line 21: | Line 21: | ||
{{:Block/contents}} | {{:Block/contents}} | ||
Latest revision as of 20:27, 24 August 2026
Adapter
Used to control non-component blocks, such as vanilla blocks or blocks from other mods. You will most likely also install OpenComponents to make this block more useful.
This block allows interfacing with all kinds of blocks, as long as a driver is made available to OpenComputers. For example, OpenComponents OpenComputers comes with such drivers for the vanilla Command Block and Note Block, as well as drivers for a bunch of tech mods such as BuildCraft IndustrialCraft2 and ThermalExpansion. OpenComponents OpenComputers will also allow the Adapter to interface with most ComputerCraft peripherals.
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 OpenComponents, if you find the documentation in the interfaces is insufficient. Have a look at existing implementations within OpenComputers if you find the documentations in the interfaces is insufficient.
The Adapter is crafted using the following recipe:
- 4 x Iron Ingot
- 3 x Cable
- 1 x Microchip (Tier 1)
- 1 x Printed Circuit Board
Contents
| Blocks | |
|---|---|
| Computers | Computer Case - Server Rack - Microcontrollers |
| Display | Hologram Projector - Keyboard - Screen |
| Power and Networking | Capacitor - Net Splitter - Power Converter - Power Distributor - Relay |
| Extensions | Adapter - Cable - Disassembler - Disk Drive - Geolyzer - Motion Sensor - Redstone I/O - Transposer - 3D Printer |
| Robotics | Assembler - Charger - Drone - Robot - Waypoint |
