See: Description
| Interface | Description |
|---|---|
| Persistable |
An object that can be persisted to an NBT tag and restored back from it.
|
| Rotatable |
This interface is implemented by the computer case and robot tile entities
to allow item components to query the orientation of their host, i.e.
|
| Class | Description |
|---|---|
| CreativeTab |
Allows access to the creative tab used by OpenComputers.
|
| Driver |
This API allows registering new drivers with the mod.
|
| FileSystem |
This class provides factory methods for creating file systems that are
compatible with the built-in file system driver.
|
| Items |
Access to item definitions for all blocks and items provided by
OpenComputers.
|
| Machine |
This API is intended for people who would like to implement custom computer
blocks or anything else hosting a computer.
|
| Network |
This class provides factories for networks and nodes.
|
Driver APINetwork, for example because
you wish to interact with other blocks / components of the mod. The most
typical scenario for this will be adding a new object that user programs
should be able to interact with: a Component.
Note that for tile entities you implement yourself, you will not have to
provide a driver, as long as you implement the necessary interface:
Environment and call Network.joinOrCreateNetwork(net.minecraft.tileentity.TileEntity)
in the first updateEntity() call. For items that should be installed
in a computer you will always have to provide a driver.
FileSystem APINetwork APIManagedEnvironment via a driver you'll want to
create a node. This API provides factory methods for creating it.