Skip navigation links

Package li.cil.oc.api.machine

This package provides low level machine access.

See: Description

Package li.cil.oc.api.machine Description

This package provides low level machine access.

Using the Machine class, you can create new machine instances, i.e. essentially computer "cores", that will run code. This allows you to implement your own computer blocks. Or robots. Or whatever you come up with.

The interfaces in here also allow you to implement an arbitrary new Architecture, which can then be used when creating a new Machine using the factory methods in Machine. An architecture could be a custom language interpreter, or a full blown hardware emulator for old microchips.

There are also a couple of interfaces in here that are not meant to be implemented, but merely to allow accessing some mod internals in a regulated fashion, such as Robot.

Skip navigation links