Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X Y Z 

A

AbstractBehavior - Class in li.cil.oc.api.prefab
Base class for behaviors, mostly useful to have less cluttered classes when you only need one or two of the methods in the interface.
AbstractBehavior(EntityPlayer) - Constructor for class li.cil.oc.api.prefab.AbstractBehavior
Pass along the player the behavior was created for here to have it stored for later use.
AbstractBehavior() - Constructor for class li.cil.oc.api.prefab.AbstractBehavior
Use this if you do not need the player reference in your implementation.
AbstractInteractiveImageRenderer - Class in li.cil.oc.api.prefab
Simple base implementation of InteractiveImageRenderer.
AbstractInteractiveImageRenderer() - Constructor for class li.cil.oc.api.prefab.AbstractInteractiveImageRenderer
 
AbstractProvider - Class in li.cil.oc.api.prefab
Example base implementation of nanomachine behavior provider.
AbstractProvider(String) - Constructor for class li.cil.oc.api.prefab.AbstractProvider
For the ID passed in here, it is suggested to use a one-time generated UUID that is hard-coded into your provider implementation.
AbstractValue - Class in li.cil.oc.api.prefab
Basic implementation for the Value interface.
AbstractValue() - Constructor for class li.cil.oc.api.prefab.AbstractValue
 
Adapter - Interface in li.cil.oc.api.internal
This interface is implemented as a marker by adapters.
add(Block) - Method in interface li.cil.oc.api.detail.DriverAPI
Deprecated.
Use SidedBlock instead.
add(SidedBlock) - Method in interface li.cil.oc.api.detail.DriverAPI
Registers a new side-aware block driver.
add(Item) - Method in interface li.cil.oc.api.detail.DriverAPI
Registers a new driver for an item component.
add(Converter) - Method in interface li.cil.oc.api.detail.DriverAPI
Registers a new type converter.
add(EnvironmentProvider) - Method in interface li.cil.oc.api.detail.DriverAPI
Register a new environment provider.
add(InventoryProvider) - Method in interface li.cil.oc.api.detail.DriverAPI
Register a new inventory provider.
add(Class<? extends Architecture>) - Method in interface li.cil.oc.api.detail.MachineAPI
Register an architecture that can be used to create new machines.
add(Block) - Static method in class li.cil.oc.api.Driver
Deprecated.
Use SidedBlock instead.
add(SidedBlock) - Static method in class li.cil.oc.api.Driver
Registers a new side-aware block driver.
add(Item) - Static method in class li.cil.oc.api.Driver
Registers a new item driver.
add(Converter) - Static method in class li.cil.oc.api.Driver
Registers a new type converter.
add(EnvironmentProvider) - Static method in class li.cil.oc.api.Driver
Register a new environment provider.
add(InventoryProvider) - Static method in class li.cil.oc.api.Driver
Register a new inventory provider.
add(Class<? extends Architecture>) - Static method in class li.cil.oc.api.Machine
Register an architecture that can be used to create new machines.
addedToNetwork - Variable in class li.cil.oc.api.prefab.TileEntityEnvironment
 
addedToNetwork - Variable in class li.cil.oc.api.prefab.TileEntitySidedEnvironment
 
addProvider(PathProvider) - Method in interface li.cil.oc.api.detail.ManualAPI
Register a path provider.
addProvider(ContentProvider) - Method in interface li.cil.oc.api.detail.ManualAPI
Register a content provider.
addProvider(String, ImageProvider) - Method in interface li.cil.oc.api.detail.ManualAPI
Register an image provider.
addProvider(BehaviorProvider) - Method in interface li.cil.oc.api.detail.NanomachinesAPI
Register a new behavior provider.
addProvider(PathProvider) - Static method in class li.cil.oc.api.Manual
Register a path provider.
addProvider(ContentProvider) - Static method in class li.cil.oc.api.Manual
Register a content provider.
addProvider(String, ImageProvider) - Static method in class li.cil.oc.api.Manual
Register an image provider.
addProvider(BehaviorProvider) - Static method in class li.cil.oc.api.Nanomachines
Register a new behavior provider.
Address - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
address() - Method in interface li.cil.oc.api.network.Node
The address of the node, so that it can be found in the network.
addTab(TabIconRenderer, String, String) - Method in interface li.cil.oc.api.detail.ManualAPI
Register a tab to be displayed next to the manual.
addTab(TabIconRenderer, String, String) - Static method in class li.cil.oc.api.Manual
Register a tab to be displayed next to the manual.
addUser(String) - Method in interface li.cil.oc.api.machine.Machine
Add a player to the machine's list of users, by username.
agent - Variable in class li.cil.oc.api.event.RobotEvent
The robot for which this event was fired.
Agent - Interface in li.cil.oc.api.internal
General marker interface for autonomous agents such as robots and drones.
allArchitectures() - Method in interface li.cil.oc.api.driver.item.MutableProcessor
Get a list of all architectures supported by this processor.
amount(ItemStack) - Method in interface li.cil.oc.api.driver.item.Memory
The amount of RAM this component provides, as a generic scaling factor.
Analyzable - Interface in li.cil.oc.api.network
Allows defining a callback for when a block is right-clicked with an analyzer.
Analyze(EnvironmentHost, Map<?, ?>, int, int, int) - Constructor for class li.cil.oc.api.event.GeolyzerEvent.Analyze
 
annotation(String) - Method in interface li.cil.oc.api.network.Component
Get the annotation information of a method.
Any - Static variable in class li.cil.oc.api.driver.item.Slot
 
Any - Static variable in class li.cil.oc.api.driver.item.UpgradeRenderer.MountPointName
 
API - Class in li.cil.oc.api
Central reference for the API.
apply(Context, Arguments) - Method in interface li.cil.oc.api.machine.Value
This is called when the code running on a machine tries to index this value.
apply(Context, Arguments) - Method in class li.cil.oc.api.prefab.AbstractValue
 
apply(Context, Arguments) - Method in class li.cil.oc.api.prefab.ItemStackArrayValue
 
ApplyDamageRate(Agent, ItemStack, ItemStack, double) - Constructor for class li.cil.oc.api.event.RobotUsedToolEvent.ApplyDamageRate
 
architecture(ItemStack) - Method in interface li.cil.oc.api.driver.item.Processor
The architecture of this CPU.
Architecture - Interface in li.cil.oc.api.machine
This interface abstracts away any language specific details for the Machine.
architecture() - Method in interface li.cil.oc.api.machine.Machine
The underlying architecture of the machine.
Architecture.Name - Annotation Type in li.cil.oc.api.machine
Architectures can be annotated with this to provide a nice display name.
Architecture.NoMemoryRequirements - Annotation Type in li.cil.oc.api.machine
Architectures flagged with this annotation can potentially run without any additional memory installed in the computer.
architectures() - Method in interface li.cil.oc.api.detail.MachineAPI
A list of all registered architectures.
architectures() - Static method in class li.cil.oc.api.Machine
A list of all registered architectures.
args() - Method in interface li.cil.oc.api.machine.Signal
The list of arguments for the signal.
Arguments - Interface in li.cil.oc.api.machine
This interface provides access to arguments passed to a Callback.
asManagedEnvironment(FileSystem, Label, EnvironmentHost, String, int) - Method in interface li.cil.oc.api.detail.FileSystemAPI
Creates a network node that makes the specified file system available via the common file system driver.
asManagedEnvironment(FileSystem, String, EnvironmentHost, String, int) - Method in interface li.cil.oc.api.detail.FileSystemAPI
Creates a network node that makes the specified file system available via the common file system driver.
asManagedEnvironment(FileSystem, Label, EnvironmentHost, String) - Method in interface li.cil.oc.api.detail.FileSystemAPI
Deprecated.
Don't use this directly, use the wrapper in FileSystem.
asManagedEnvironment(FileSystem, String, EnvironmentHost, String) - Method in interface li.cil.oc.api.detail.FileSystemAPI
Deprecated.
Don't use this directly, use the wrapper in FileSystem.
asManagedEnvironment(FileSystem, Label) - Method in interface li.cil.oc.api.detail.FileSystemAPI
Deprecated.
Don't use this directly, use the wrapper in FileSystem.
asManagedEnvironment(FileSystem, String) - Method in interface li.cil.oc.api.detail.FileSystemAPI
Deprecated.
Don't use this directly, use the wrapper in FileSystem.
asManagedEnvironment(FileSystem) - Method in interface li.cil.oc.api.detail.FileSystemAPI
Deprecated.
Don't use this directly, use the wrapper in FileSystem.
asManagedEnvironment(FileSystem, Label, EnvironmentHost, String, int) - Static method in class li.cil.oc.api.FileSystem
Creates a network node that makes the specified file system available via the common file system driver.
asManagedEnvironment(FileSystem, String, EnvironmentHost, String, int) - Static method in class li.cil.oc.api.FileSystem
Creates a network node that makes the specified file system available via the common file system driver.
asManagedEnvironment(FileSystem, Label, EnvironmentHost, String) - Static method in class li.cil.oc.api.FileSystem
Creates a network node that makes the specified file system available via the common file system driver.
asManagedEnvironment(FileSystem, String, EnvironmentHost, String) - Static method in class li.cil.oc.api.FileSystem
Creates a network node that makes the specified file system available via the common file system driver.
asManagedEnvironment(FileSystem, Label) - Static method in class li.cil.oc.api.FileSystem
Creates a network node that makes the specified file system available via the common file system driver.
asManagedEnvironment(FileSystem, String) - Static method in class li.cil.oc.api.FileSystem
Creates a network node that makes the specified file system available via the common file system driver.
asManagedEnvironment(FileSystem) - Static method in class li.cil.oc.api.FileSystem
Creates a network node that makes the specified file system available via the common file system driver.
asReadOnly(FileSystem) - Method in interface li.cil.oc.api.detail.FileSystemAPI
Wrap a file system retrieved via one of the from??? methods to make it read-only.
asReadOnly(FileSystem) - Static method in class li.cil.oc.api.FileSystem
Wrap a file system retrieved via one of the from??? methods to make it read-only.

B

beep(short, short) - Method in interface li.cil.oc.api.machine.Machine
Play a sound using the machine's built-in speaker.
beep(String) - Method in interface li.cil.oc.api.machine.Machine
Utility method for playing beep codes.
Behavior - Interface in li.cil.oc.api.nanomachines
Implemented by single behaviors.
BehaviorProvider - Interface in li.cil.oc.api.nanomachines
Implemented by providers for behaviors.
BlacklistedPeripheral - Interface in li.cil.oc.api.network
This interface can be implemented by ComputerCraft peripherals, to allow dynamically deciding whether OC should wrap the peripheral or not.
blacklistHost(String, Class, ItemStack) - Static method in class li.cil.oc.api.IMC
Blacklist an item for a specified host.
blacklistPeripheral(Class) - Static method in class li.cil.oc.api.IMC
Blacklist a ComputerCraft peripheral from being wrapped by OpenComputers' built-in driver for ComputerCraft peripherals.
block() - Method in interface li.cil.oc.api.detail.ItemInfo
Returns the block type of the represented item.
Block - Interface in li.cil.oc.api.driver
Deprecated.
Use SidedBlock instead, ignoring the side argument if the side doesn't matter.
Block(Rack, int, NBTTagCompound, ForgeDirection, RenderBlocks) - Constructor for class li.cil.oc.api.event.RackMountableRenderEvent.Block
 
blockDrivers() - Method in interface li.cil.oc.api.detail.DriverAPI
Get a list of all registered block drivers.
blockDrivers() - Static method in class li.cil.oc.api.Driver
Get a list of all registered block drivers.
blocks - Variable in class li.cil.oc.api.prefab.DriverBlock
Deprecated.
 
blocks - Variable in class li.cil.oc.api.prefab.DriverSidedBlock
 
BottomBack - Static variable in class li.cil.oc.api.driver.item.UpgradeRenderer.MountPointName
 
BottomFront - Static variable in class li.cil.oc.api.driver.item.UpgradeRenderer.MountPointName
 
BottomLeft - Static variable in class li.cil.oc.api.driver.item.UpgradeRenderer.MountPointName
 
BottomRight - Static variable in class li.cil.oc.api.driver.item.UpgradeRenderer.MountPointName
 
Bridge - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
Builder<T extends Node> - Interface in li.cil.oc.api.detail
Builder.ComponentBuilder - Interface in li.cil.oc.api.detail
Builder for component nodes.
Builder.ComponentConnectorBuilder - Interface in li.cil.oc.api.detail
Builder for nodes that are both component and connector node.
Builder.ConnectorBuilder - Interface in li.cil.oc.api.detail
Builder for connector nodes.
Builder.NodeBuilder - Interface in li.cil.oc.api.detail
Builder for basic nodes.
Bus - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 

C

call(Context, Arguments) - Method in interface li.cil.oc.api.machine.Value
This is called when the code running on a machine tries to call this value as a function.
call(Context, Arguments) - Method in class li.cil.oc.api.prefab.AbstractValue
 
call(Context, Arguments) - Method in class li.cil.oc.api.prefab.ItemStackArrayValue
 
Callback - Annotation Type in li.cil.oc.api.machine
This annotation can be used for methods in an Environment to mark them for exposure to computers.
CallBudget - Interface in li.cil.oc.api.driver.item
Common functionality provided by parts that influence a machine's speed.
canBeReachedFrom(Node) - Method in interface li.cil.oc.api.network.Node
Checks whether this node can be reached from the specified node.
canBeSeenFrom(Node) - Method in interface li.cil.oc.api.network.Component
Tests whether this component can be seen by the specified node, usually representing a computer in the network.
cancel() - Method in interface li.cil.oc.api.network.Message
Stop further propagation of a broadcast message.
canCharge(ItemStack) - Method in interface li.cil.oc.api.driver.item.Chargeable
Whether the specified item stack can be charged.
canConnect(ForgeDirection) - Method in interface li.cil.oc.api.network.SidedEnvironment
Whether the environment provides a node to connect to on the specified side.
canConnectNode(ForgeDirection) - Method in interface li.cil.oc.api.network.SidedComponent
Whether this component can connect to a node on the specified side.
canInteract(String) - Method in interface li.cil.oc.api.machine.Context
Tests whether a player is allowed to use the computer.
canUpdate() - Method in interface li.cil.oc.api.network.ManagedEnvironment
Like the method of the same name on tile entities, this is used to decide whether to put a component in the list of components that need updating, i.e.
canUpdate() - Method in class li.cil.oc.api.prefab.ManagedEnvironment
 
Capacity - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceAttribute
 
Card - Static variable in class li.cil.oc.api.driver.item.Slot
 
Case - Interface in li.cil.oc.api.internal
This interface is implemented as a marker by computer cases.
changeBuffer(double) - Method in interface li.cil.oc.api.nanomachines.Controller
Try to apply the specified delta to the controller's buffer.
changeBuffer(double) - Method in interface li.cil.oc.api.network.Connector
Try to apply the specified delta to the global buffer.
charge(ItemStack, double, boolean) - Method in interface li.cil.oc.api.driver.item.Chargeable
Called when checking if an item can be charged or should be charged.
Chargeable - Interface in li.cil.oc.api.driver.item
This interface can be implemented on items that go into a charger.
checkAny(int) - Method in interface li.cil.oc.api.machine.Arguments
Get whatever is at the specified index.
checkBoolean(int) - Method in interface li.cil.oc.api.machine.Arguments
Try to get a boolean value at the specified index.
checkByteArray(int) - Method in interface li.cil.oc.api.machine.Arguments
Try to get a byte array at the specified index.
checkDouble(int) - Method in interface li.cil.oc.api.machine.Arguments
Try to get a double value at the specified index.
checkInteger(int) - Method in interface li.cil.oc.api.machine.Arguments
Try to get an integer value at the specified index.
checkItemStack(int) - Method in interface li.cil.oc.api.machine.Arguments
Try to get an item stack representation at the specified index.
checkString(int) - Method in interface li.cil.oc.api.machine.Arguments
Try to get a string value at the specified index.
checkTable(int) - Method in interface li.cil.oc.api.machine.Arguments
Try to get a table at the specified index.
Class - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceAttribute
 
Client(String, TileEntity, NBTTagCompound) - Constructor for class li.cil.oc.api.event.FileSystemAccessEvent.Client
Constructor for tile entity hosted file systems.
Client(String, World, double, double, double, NBTTagCompound) - Constructor for class li.cil.oc.api.event.FileSystemAccessEvent.Client
Constructor for arbitrarily hosted file systems.
Client(TileEntity, NBTTagCompound) - Constructor for class li.cil.oc.api.event.NetworkActivityEvent.Client
Constructor for tile entity hosted network card.
Client(World, double, double, double, NBTTagCompound) - Constructor for class li.cil.oc.api.event.NetworkActivityEvent.Client
Constructor for arbitrarily hosted network card.
clipboard(String, EntityPlayer) - Method in interface li.cil.oc.api.internal.TextBuffer
Signals a clipboard paste event for the buffer.
Clock - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceAttribute
 
close() - Method in interface li.cil.oc.api.fs.FileSystem
Called when the file system is destroyed.
close() - Method in interface li.cil.oc.api.fs.Handle
Closes the handle.
close() - Method in interface li.cil.oc.api.machine.Architecture
Called when a machine stopped.
Colored - Interface in li.cil.oc.api.internal
This interface is implemented by tile entities that can be colored by players, such as screens, computer cases and cables.
Communication - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
Component - Interface in li.cil.oc.api.network
Components are nodes that can be addressed computers via drivers.
ComponentBus - Static variable in class li.cil.oc.api.driver.item.Slot
 
ComponentConnector - Interface in li.cil.oc.api.network
For nodes that are both component and connector.
componentCount() - Method in interface li.cil.oc.api.internal.Robot
The number of built-in components in this robot.
componentCount() - Method in interface li.cil.oc.api.machine.Machine
The number of connected components.
ComponentHost - Interface in li.cil.oc.api.network
A more in-depth implementation of an environment host, also providing access to the hosted environments.
components() - Method in interface li.cil.oc.api.machine.Machine
The list of components attached to this machine.
componentSlot(String) - Method in interface li.cil.oc.api.machine.MachineHost
Get the slot a component with the specified address is in.
ComputeDamageRate(Agent, ItemStack, ItemStack, double) - Constructor for class li.cil.oc.api.event.RobotUsedToolEvent.ComputeDamageRate
 
computePreferredMountPoint(ItemStack, Robot, Set<String>) - Method in interface li.cil.oc.api.driver.item.UpgradeRenderer
Returns which mount point this renderer wants to render the specified upgrade in.
config - Static variable in class li.cil.oc.api.API
The loaded config.
connect(Node, Node) - Method in interface li.cil.oc.api.network.Network
Adds a new node connection in the network.
connect(Node) - Method in interface li.cil.oc.api.network.Node
Connects the specified node to this node.
Connector - Interface in li.cil.oc.api.network
Interface for nodes that act as power connectors between their network and some power producer or consumer.
consumeCallBudget(double) - Method in interface li.cil.oc.api.machine.Context
This method allows dynamic costs for direct calls.
Container - Interface in li.cil.oc.api.driver.item
May be implemented by drivers for robot upgrades that act as hotswap bays, i.e.
Container - Static variable in class li.cil.oc.api.driver.item.Slot
 
contentFor(String) - Method in interface li.cil.oc.api.detail.ManualAPI
Get the content of the documentation page at the specified location.
contentFor(String) - Static method in class li.cil.oc.api.Manual
Get the content of the documentation page at the specified location.
ContentProvider - Interface in li.cil.oc.api.manual
This interface allows implementation of content providers for the manual.
Context - Interface in li.cil.oc.api.machine
This is used to provide some context to Callbacks, i.e.
Controller - Interface in li.cil.oc.api.nanomachines
The nanomachine controller is responsible for keeping track of the current layout of neural connections (i.e.
convert(Object, Map<Object, Object>) - Method in interface li.cil.oc.api.driver.Converter
Converts a type to a Map.
Converter - Interface in li.cil.oc.api.driver
A converter is a callback that can be used to transparently convert Java types to something that can be pushed to a machine's architecture.
copy(int, int, int, int, int, int) - Method in interface li.cil.oc.api.internal.TextBuffer
Copy a portion of the text buffer.
count() - Method in interface li.cil.oc.api.machine.Arguments
The total number of arguments that were passed to the function.
count(Context, Arguments) - Method in class li.cil.oc.api.prefab.ItemStackArrayValue
 
CPU - Static variable in class li.cil.oc.api.driver.item.Slot
 
cpuTime() - Method in interface li.cil.oc.api.machine.Machine
The time spent running the underlying architecture in execution threads, i.e.
crash(String) - Method in interface li.cil.oc.api.machine.Machine
Crashes the computer.
create() - Method in interface li.cil.oc.api.detail.Builder
Finalizes the construction of the node.
create(MachineHost) - Method in interface li.cil.oc.api.detail.MachineAPI
Creates a new machine for the specified host.
create(MachineHost) - Static method in class li.cil.oc.api.Machine
Creates a new machine for the specified host.
createBehaviors(EntityPlayer) - Method in interface li.cil.oc.api.nanomachines.BehaviorProvider
Create all behaviors valid for the specified player.
createEnvironment(World, int, int, int) - Method in interface li.cil.oc.api.driver.Block
Deprecated.
Create a new managed environment interfacing the specified block.
createEnvironment(ItemStack, EnvironmentHost) - Method in interface li.cil.oc.api.driver.Item
Create a new managed environment interfacing the specified item.
createEnvironment(World, int, int, int, ForgeDirection) - Method in interface li.cil.oc.api.driver.SidedBlock
Create a new managed environment interfacing the specified block.
createItemStack(int) - Method in interface li.cil.oc.api.detail.ItemInfo
Creates a new item stack of the item represended by this descriptor.
CreativeTab - Class in li.cil.oc.api
Allows access to the creative tab used by OpenComputers.

D

damageRate - Variable in class li.cil.oc.api.event.RobotUsedToolEvent
 
data - Variable in class li.cil.oc.api.event.FileSystemAccessEvent
 
data - Variable in class li.cil.oc.api.event.GeolyzerEvent.Analyze
The retrieved data for the block being scanned.
data - Variable in class li.cil.oc.api.event.GeolyzerEvent.Scan
The data for the column of blocks being scanned, which is an interval around the geolyzer itself, with the geolyzer block being at index 32.
data - Variable in class li.cil.oc.api.event.NetworkActivityEvent
 
data - Variable in class li.cil.oc.api.event.RackMountableRenderEvent
Some additional data made available by the mountable.
data() - Method in interface li.cil.oc.api.network.Message
The values passed along in the message.
data() - Method in interface li.cil.oc.api.network.Packet
The payload of the packet.
Database - Interface in li.cil.oc.api.internal
This interface is implemented by the database component.
dataTag(ItemStack) - Method in interface li.cil.oc.api.driver.Item
Get the tag compound based on the item stack to use for persisting the environment associated with the specified item stack.
dataTag(ItemStack) - Method in class li.cil.oc.api.prefab.DriverItem
 
delete(String) - Method in interface li.cil.oc.api.fs.FileSystem
Deletes a file or folder.
Description - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceAttribute
 
destination() - Method in interface li.cil.oc.api.network.Packet
The address of the destination of the packet.
DeviceInfo - Interface in li.cil.oc.api.driver
Implement this on Environments if you wish to expose some (typically static) information about the device represented by that environment to a Machine connected to it.
DeviceInfo.DeviceAttribute - Class in li.cil.oc.api.driver
Recommended list of key values for the device info table.
DeviceInfo.DeviceClass - Class in li.cil.oc.api.driver
Recommended list of values for the class attribute (see above).
direction - Variable in class li.cil.oc.api.event.RobotMoveEvent
The direction in which the robot will be moving.
DisableReason - Enum in li.cil.oc.api.nanomachines
Enum with reasons why a nanomachine behavior was disabled.
disconnect(Node, Node) - Method in interface li.cil.oc.api.network.Network
Removes a node connection in the network.
disconnect(Node) - Method in interface li.cil.oc.api.network.Node
Disconnects the specified node from this node.
Disk - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
Display - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
dispose(Context) - Method in interface li.cil.oc.api.machine.Value
This is called when the object's representation in the machine it was pushed to is garbage collected.
dispose(Context) - Method in class li.cil.oc.api.prefab.AbstractValue
 
driver - Static variable in class li.cil.oc.api.API
 
Driver - Class in li.cil.oc.api
This API allows registering new drivers with the mod.
DriverAPI - Interface in li.cil.oc.api.detail
 
DriverBlock - Class in li.cil.oc.api.prefab
Deprecated.
Use DriverSidedBlock instead.
DriverBlock(ItemStack...) - Constructor for class li.cil.oc.api.prefab.DriverBlock
Deprecated.
 
driverFor(World, int, int, int) - Method in interface li.cil.oc.api.detail.DriverAPI
Deprecated.
Use DriverAPI.driverFor(World, int, int, int, ForgeDirection), passing UNKNOWN if the side is to be ignored.
driverFor(World, int, int, int, ForgeDirection) - Method in interface li.cil.oc.api.detail.DriverAPI
Looks up a driver for the block at the specified position in the specified world.
driverFor(ItemStack, Class<? extends EnvironmentHost>) - Method in interface li.cil.oc.api.detail.DriverAPI
Looks up a driver for the specified item stack.
driverFor(ItemStack) - Method in interface li.cil.oc.api.detail.DriverAPI
Looks up a driver for the specified item stack.
driverFor(World, int, int, int) - Static method in class li.cil.oc.api.Driver
Deprecated.
Use Driver.driverFor(World, int, int, int, ForgeDirection), passing UNKNOWN if the side is to be ignored.
driverFor(World, int, int, int, ForgeDirection) - Static method in class li.cil.oc.api.Driver
Looks up a driver for the block at the specified position in the specified world.
driverFor(ItemStack, Class<? extends EnvironmentHost>) - Static method in class li.cil.oc.api.Driver
Looks up a driver for the specified item stack.
driverFor(ItemStack) - Static method in class li.cil.oc.api.Driver
Looks up a driver for the specified item stack.
DriverItem - Class in li.cil.oc.api.prefab
If you wish to create item components such as the network card or hard drives you will need an item driver.
DriverItem(ItemStack...) - Constructor for class li.cil.oc.api.prefab.DriverItem
 
DriverSidedBlock - Class in li.cil.oc.api.prefab
If you wish to create a block component for a third-party block, i.e.
DriverSidedBlock(ItemStack...) - Constructor for class li.cil.oc.api.prefab.DriverSidedBlock
 
DriverSidedTileEntity - Class in li.cil.oc.api.prefab
To limit sidedness, I recommend overriding DriverSidedTileEntity.worksWith(World, int, int, int, ForgeDirection) and calling super.worksWith in addition to the side check.
DriverSidedTileEntity() - Constructor for class li.cil.oc.api.prefab.DriverSidedTileEntity
 
DriverTileEntity - Class in li.cil.oc.api.prefab
Deprecated.
DriverTileEntity() - Constructor for class li.cil.oc.api.prefab.DriverTileEntity
Deprecated.
 
Drone - Interface in li.cil.oc.api.internal
This interface is implemented as a marker by drones.

E

Environment - Interface in li.cil.oc.api.network
The environment of a node.
EnvironmentAware - Interface in li.cil.oc.api.driver
Deprecated.
Use an EnvironmentProvider instead.
environmentFor(ItemStack) - Method in interface li.cil.oc.api.detail.DriverAPI
Deprecated.
environmentFor(ItemStack) - Static method in class li.cil.oc.api.Driver
Deprecated.
EnvironmentHost - Interface in li.cil.oc.api.driver
Deprecated.
Use li.cil.oc.api.network.EnvironmentHost directly.
EnvironmentHost - Interface in li.cil.oc.api.network
To be implemented by 'hosts' of components.
EnvironmentProvider - Interface in li.cil.oc.api.driver
Environment providers allow OpenComputers to resolve item stacks to the environments generated by the block or item component of the stack.
environmentsFor(ItemStack) - Method in interface li.cil.oc.api.detail.DriverAPI
Looks up the environments associated with the specified item stack.
environmentsFor(ItemStack) - Static method in class li.cil.oc.api.Driver
Looks up the environments associated with the specified item stack.
equipmentInventory() - Method in interface li.cil.oc.api.internal.Agent
The equipment inventory of this agent.
Error(String) - Constructor for class li.cil.oc.api.machine.ExecutionResult.Error
 
ExecutionResult - Class in li.cil.oc.api.machine
Used by the Machine to determine the result of a call to Architecture.runThreaded(boolean).
ExecutionResult() - Constructor for class li.cil.oc.api.machine.ExecutionResult
 
ExecutionResult.Error - Class in li.cil.oc.api.machine
Indicates that an error occurred and the computer should crash.
ExecutionResult.Shutdown - Class in li.cil.oc.api.machine
Indicates tha the computer should shutdown or reboot.
ExecutionResult.Sleep - Class in li.cil.oc.api.machine
Indicates the machine may sleep for the specified number of ticks.
ExecutionResult.SynchronizedCall - Class in li.cil.oc.api.machine
Indicates that a synchronized call should be performed.
exhaustion - Variable in class li.cil.oc.api.event.RobotExhaustionEvent
The amount of exhaustion that was generated.
exists(String) - Method in interface li.cil.oc.api.fs.FileSystem
Tests if a file or directory exists at the specified path.
experience - Variable in class li.cil.oc.api.event.RobotBreakBlockEvent.Post
The amount of experience the block that was broken generated (e.g.

F

facing() - Method in interface li.cil.oc.api.internal.Rotatable
The current facing of a tile entity implementing this interface.
fileSystem - Static variable in class li.cil.oc.api.API
 
FileSystem - Class in li.cil.oc.api
This class provides factory methods for creating file systems that are compatible with the built-in file system driver.
FileSystem - Interface in li.cil.oc.api.fs
Interface for file system driver compatible file systems.
FileSystemAccessEvent - Class in li.cil.oc.api.event
Events for handling file system access and representing it on the client.
FileSystemAccessEvent(String, TileEntity, NBTTagCompound) - Constructor for class li.cil.oc.api.event.FileSystemAccessEvent
Constructor for tile entity hosted file systems.
FileSystemAccessEvent(String, World, double, double, double, NBTTagCompound) - Constructor for class li.cil.oc.api.event.FileSystemAccessEvent
Constructor for arbitrarily hosted file systems.
FileSystemAccessEvent.Client - Class in li.cil.oc.api.event
 
FileSystemAccessEvent.Server - Class in li.cil.oc.api.event
 
FileSystemAPI - Interface in li.cil.oc.api.detail
 
fill(int, int, int, int, char) - Method in interface li.cil.oc.api.internal.TextBuffer
Fill a portion of the text buffer.
FilteredEnvironment - Interface in li.cil.oc.api.network
This interface can be added to Environments with a number of Callbacks on them, to select which of these callbacks should be exposed to machines dynamically.
findStackWithHash(String) - Method in interface li.cil.oc.api.internal.Database
Get an item stack with the specified hash stored in this database.
Floppy - Static variable in class li.cil.oc.api.driver.item.Slot
 
fromClass(Class<?>, String, String) - Method in interface li.cil.oc.api.detail.FileSystemAPI
Creates a new file system based on the location of a class.
fromClass(Class<?>, String, String) - Static method in class li.cil.oc.api.FileSystem
Creates a new file system based on the location of a class.
fromComputerCraft(Object) - Method in interface li.cil.oc.api.detail.FileSystemAPI
Creates a new file system based on a read-only ComputerCraft mount.
fromComputerCraft(Object) - Static method in class li.cil.oc.api.FileSystem
Creates a new file system based on a ComputerCraft mount.
fromMemory(long) - Method in interface li.cil.oc.api.detail.FileSystemAPI
Creates a new writable file system that resides in memory.
fromMemory(long) - Static method in class li.cil.oc.api.FileSystem
Creates a new writable file system that resides in memory.
fromSaveDirectory(String, long, boolean) - Method in interface li.cil.oc.api.detail.FileSystemAPI
Creates a new writable file system in the save folder.
fromSaveDirectory(String, long, boolean) - Static method in class li.cil.oc.api.FileSystem
Creates a new writable file system in the save folder.
fromSaveDirectory(String, long) - Static method in class li.cil.oc.api.FileSystem
Same as FileSystem.fromSaveDirectory(String, long, boolean) with the buffered parameter being true, i.e.

G

Generic - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
GeolyzerEvent - Class in li.cil.oc.api.event
This event is fired by the geolyzer block/upgrade.
GeolyzerEvent(EnvironmentHost, Map<?, ?>) - Constructor for class li.cil.oc.api.event.GeolyzerEvent
 
GeolyzerEvent.Analyze - Class in li.cil.oc.api.event
Zero-range scan, getting in-depth information about blocks directly adjacent to the geolyzer.
GeolyzerEvent.Scan - Class in li.cil.oc.api.event
Long-distance scan, getting quantified information about blocks around the geolyzer.
get(String) - Method in interface li.cil.oc.api.detail.ItemAPI
Get a descriptor object for the block or item with the specified name.
get(ItemStack) - Method in interface li.cil.oc.api.detail.ItemAPI
Get a descriptor object for the block or item represented by the specified item stack.
get(int, int) - Method in interface li.cil.oc.api.internal.TextBuffer
Get the character in the text buffer at the specified location.
get(String) - Static method in class li.cil.oc.api.Items
Get a descriptor object for the block or item with the specified name.
get(ItemStack) - Static method in class li.cil.oc.api.Items
Get a descriptor object for the block or item represented by the specified item stack.
getActiveBehaviors() - Method in interface li.cil.oc.api.nanomachines.Controller
Get the list of currently active behaviors, based on the current input states.
getAll(Context, Arguments) - Method in class li.cil.oc.api.prefab.ItemStackArrayValue
 
getArchitectureName(Class<? extends Architecture>) - Method in interface li.cil.oc.api.detail.MachineAPI
Get the name of the specified architecture.
getArchitectureName(Class<? extends Architecture>) - Static method in class li.cil.oc.api.Machine
Get the name of the specified architecture.
getAspectRatio() - Method in interface li.cil.oc.api.internal.TextBuffer
Get the aspect ratio of the buffer.
getBackgroundColor() - Method in interface li.cil.oc.api.internal.TextBuffer
The active background color.
getBackgroundColor(int, int) - Method in interface li.cil.oc.api.internal.TextBuffer
Get the background color of the text buffer at the specified location.
getBreakTime() - Method in class li.cil.oc.api.event.RobotBreakBlockEvent.Pre
Gets the time that it will take to break the block.
getCallBudget(ItemStack) - Method in interface li.cil.oc.api.driver.item.CallBudget
The budget for direct calls provided by the specified component.
getColor() - Method in interface li.cil.oc.api.internal.Colored
Get the current color value.
getColorDepth() - Method in interface li.cil.oc.api.internal.TextBuffer
Get the active color depth of this buffer.
getComponentInSlot(int) - Method in interface li.cil.oc.api.internal.Robot
Get the environment for the component in the specified slot.
getComponentName() - Method in interface li.cil.oc.api.network.SimpleComponent
The name the component should be made available as.
getComponents() - Method in interface li.cil.oc.api.network.ComponentHost
The list of components active in the component host.
getConnectableAt(int) - Method in interface li.cil.oc.api.component.RackMountable
Returns the node at the specified index.
getConnectableCount() - Method in interface li.cil.oc.api.component.RackMountable
The number of connectables exposed by the environment.
getContent(String) - Method in interface li.cil.oc.api.manual.ContentProvider
Called to get the content of a path pointed to by the specified path.
getContent(String) - Method in class li.cil.oc.api.prefab.ResourceContentProvider
 
getController(EntityPlayer) - Method in interface li.cil.oc.api.detail.NanomachinesAPI
Get the nanomachine controller of the specified player.
getController(EntityPlayer) - Static method in class li.cil.oc.api.Nanomachines
Get the nanomachine controller of the specified player.
getCostPerTick() - Method in interface li.cil.oc.api.machine.Machine
Gets the amount of energy this machine consumes per tick when it is running.
getCurrentState() - Method in interface li.cil.oc.api.util.StateAware
Get the current work state (usually a TileEntity.
getDamageRate() - Method in class li.cil.oc.api.event.RobotUsedToolEvent
The rate at which the used tool should lose durability, where one means it loses durability at full speed, zero means it doesn't lose durability at all.
getData() - Method in interface li.cil.oc.api.component.RackMountable
Returns some data describing the state of the mountable.
getData() - Method in class li.cil.oc.api.event.FileSystemAccessEvent
Addition custom data, this is used to transmit the number of the server in a server rack the file system lives in, for example.
getData() - Method in class li.cil.oc.api.event.NetworkActivityEvent
Addition custom data, this is used to transmit the number of the server in a server rack the network card lives in, for example.
getDeviceInfo() - Method in interface li.cil.oc.api.driver.DeviceInfo
Compile a list of device information strings as key-value pairs.
getEnergyCostPerTick() - Method in interface li.cil.oc.api.internal.TextBuffer
Get the energy cost per tick.
getEnvironment(ItemStack) - Method in interface li.cil.oc.api.driver.EnvironmentProvider
Get the environment provided by the specified stack.
getFluidTank(int) - Method in interface li.cil.oc.api.internal.MultiTank
Get the installed fluid tank with the specified index.
getForegroundColor() - Method in interface li.cil.oc.api.internal.TextBuffer
The active foreground color.
getForegroundColor(int, int) - Method in interface li.cil.oc.api.internal.TextBuffer
Get the foreground color of the text buffer at the specified location.
getFrontTextureOverride() - Method in class li.cil.oc.api.event.RackMountableRenderEvent.Block
The texture currently set to use for the front of the mountable, or null.
getHandle(int) - Method in interface li.cil.oc.api.fs.FileSystem
Gets a wrapper for a file previously opened using FileSystem.open(java.lang.String, li.cil.oc.api.fs.Mode).
getHeight() - Method in interface li.cil.oc.api.internal.TextBuffer
Get the current vertical resolution.
getHeight() - Method in interface li.cil.oc.api.manual.ImageRenderer
The height of the area this renderer uses.
getImage(String) - Method in interface li.cil.oc.api.manual.ImageProvider
Gets an image renderer for the specified data.
getInput(int) - Method in interface li.cil.oc.api.nanomachines.Controller
Get whether the input with the specified index is active.
getInputCount(Behavior) - Method in interface li.cil.oc.api.nanomachines.Controller
Get the number of active inputs for the specified behavior.
getInventory(ItemStack, EntityPlayer) - Method in interface li.cil.oc.api.driver.InventoryProvider
Get an inventory implementation that allows interfacing with the item inventory represented by the specified item stack.
getLabel() - Method in interface li.cil.oc.api.fs.Label
Get the current value of this label.
getLocalBuffer() - Method in interface li.cil.oc.api.nanomachines.Controller
The amount of energy stored by this nanomachine controller.
getLocalBufferSize() - Method in interface li.cil.oc.api.nanomachines.Controller
The maximum amount of energy stored by this nanomachine controller.
getMaxActiveInputs() - Method in interface li.cil.oc.api.nanomachines.Controller
Get the total number of inputs that may be active at the same time.
getMaximumColorDepth() - Method in interface li.cil.oc.api.internal.TextBuffer
Get the maximum color depth supported.
getMaximumHeight() - Method in interface li.cil.oc.api.internal.TextBuffer
Get the maximum vertical size of the buffer.
getMaximumWidth() - Method in interface li.cil.oc.api.internal.TextBuffer
Get the maximum horizontal size of the buffer.
getMountable(int) - Method in interface li.cil.oc.api.internal.Rack
The mountable in the specified slot.
getMountableData(int) - Method in interface li.cil.oc.api.internal.Rack
Get the last data state provided by the mountable in the specified slot.
getNameHint() - Method in interface li.cil.oc.api.nanomachines.Behavior
A short name / description of this behavior.
getNameHint() - Method in class li.cil.oc.api.prefab.AbstractBehavior
 
getNode() - Method in class li.cil.oc.api.event.FileSystemAccessEvent.Server
The node of the file system that signalled activity.
getNode() - Method in class li.cil.oc.api.event.NetworkActivityEvent.Server
The node of the network card that signalled activity.
getPaletteColor(int) - Method in interface li.cil.oc.api.internal.TextBuffer
Get the color in the active color palette at the specified index.
getPowerState() - Method in interface li.cil.oc.api.internal.TextBuffer
Get the current power state.
getProviders() - Method in interface li.cil.oc.api.detail.NanomachinesAPI
Get a list of all currently registered providers.
getProviders() - Static method in class li.cil.oc.api.Nanomachines
Get a list of all currently registered providers.
getSafeActiveInputs() - Method in interface li.cil.oc.api.nanomachines.Controller
Get the number of inputs that may be active at the same time before negative effects are applied to the player.
getSound() - Method in class li.cil.oc.api.event.FileSystemAccessEvent
The name of the sound effect to play for the file system.
getStackInSlot(int) - Method in interface li.cil.oc.api.internal.Database
Get an item stack stored in the specified slot of this database.
getTarget() - Method in interface li.cil.oc.api.internal.Drone
Get the current target coordinates of the drone.
getTileEntity() - Method in class li.cil.oc.api.event.FileSystemAccessEvent
The tile entity hosting the file system.
getTileEntity() - Method in class li.cil.oc.api.event.NetworkActivityEvent
The tile entity hosting the network card.
getTileEntityClass() - Method in class li.cil.oc.api.prefab.DriverSidedTileEntity
 
getTileEntityClass() - Method in class li.cil.oc.api.prefab.DriverTileEntity
Deprecated.
 
getTooltip(String) - Method in interface li.cil.oc.api.manual.InteractiveImageRenderer
Get a custom tooltip for this image renderer.
getTooltip(String) - Method in class li.cil.oc.api.prefab.AbstractInteractiveImageRenderer
 
getTotalInputCount() - Method in interface li.cil.oc.api.nanomachines.Controller
Get the number of inputs available.
getVelocity() - Method in interface li.cil.oc.api.internal.Drone
Get the drones velocity vector.
getViewportHeight() - Method in interface li.cil.oc.api.internal.TextBuffer
Get the current vertical viewport resolution.
getViewportWidth() - Method in interface li.cil.oc.api.internal.TextBuffer
Get the current horizontal viewport resolution.
getWidth() - Method in interface li.cil.oc.api.internal.TextBuffer
Get the current horizontal resolution.
getWidth() - Method in interface li.cil.oc.api.manual.ImageRenderer
The width of the area this renderer uses.
getWorld() - Method in class li.cil.oc.api.event.FileSystemAccessEvent
The world the file system lives in.
getWorld() - Method in class li.cil.oc.api.event.NetworkActivityEvent
The world the network card lives in.
getX() - Method in class li.cil.oc.api.event.FileSystemAccessEvent
The x coordinate of the file system's container.
getX() - Method in class li.cil.oc.api.event.NetworkActivityEvent
The x coordinate of the network card's container.
getY() - Method in class li.cil.oc.api.event.FileSystemAccessEvent
The y coordinate of the file system's container.
getY() - Method in class li.cil.oc.api.event.NetworkActivityEvent
The y coordinate of the network card's container.
getZ() - Method in class li.cil.oc.api.event.FileSystemAccessEvent
The z coordinate of the file system's container.
getZ() - Method in class li.cil.oc.api.event.NetworkActivityEvent
The z coordinate of the network card's container.
globalBuffer() - Method in interface li.cil.oc.api.network.Connector
The accumulative energy stored across all buffers in the node's network.
globalBufferSize() - Method in interface li.cil.oc.api.network.Connector
The accumulative size of all buffers in the node's network.

H

Handle - Interface in li.cil.oc.api.fs
Represents a handle to a file opened from a FileSystem.
hasController(EntityPlayer) - Method in interface li.cil.oc.api.detail.NanomachinesAPI
Check whether a player has a nanomachine controller installed.
hasController(EntityPlayer) - Static method in class li.cil.oc.api.Nanomachines
Check whether a player has a nanomachine controller installed.
HDD - Static variable in class li.cil.oc.api.driver.item.Slot
 
hop() - Method in interface li.cil.oc.api.network.Packet
Generates a copy of the packet, with a reduced time to live.
host - Variable in class li.cil.oc.api.event.GeolyzerEvent
The container of the geolyzer component.
host() - Method in interface li.cil.oc.api.machine.Machine
The owner of the machine, usually a tile entity hosting the machine.
host() - Method in interface li.cil.oc.api.network.Node
The environment hosting this node.
HostAware - Interface in li.cil.oc.api.driver.item
This interface can be added to item drivers to allow them to be picky about their supported host environment.

I

id - Variable in class li.cil.oc.api.prefab.AbstractProvider
Unique identifier used to tell if a behavior is ours when asked to load it.
ID_OWNER - Static variable in class li.cil.oc.api.API
 
imageFor(String) - Method in interface li.cil.oc.api.detail.ManualAPI
Get the image renderer for the specified image path.
imageFor(String) - Static method in class li.cil.oc.api.Manual
Get the image renderer for the specified image path.
ImageProvider - Interface in li.cil.oc.api.manual
This allows implementing custom image providers for rendering custom content in manual pages.
ImageRenderer - Interface in li.cil.oc.api.manual
This allows implementing custom image renderers.
IMC - Class in li.cil.oc.api
This is a pure utility class to more comfortably register things that can only be registered using IMC.
indexOfMountable(RackMountable) - Method in interface li.cil.oc.api.internal.Rack
Determine the index of the specified mountable.
initialize() - Method in interface li.cil.oc.api.machine.Architecture
Called when a machine starts up.
Input - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
installController(EntityPlayer) - Method in interface li.cil.oc.api.detail.NanomachinesAPI
Install a controller for the specified player if it doesn't already have one.
installController(EntityPlayer) - Static method in class li.cil.oc.api.Nanomachines
Install a controller for the specified player if it doesn't already have one.
instance - Static variable in class li.cil.oc.api.CreativeTab
The creative tab used by OpenComputers.
InteractiveImageRenderer - Interface in li.cil.oc.api.manual
Allows implementing advanced image renderers that react to mouse input and specify customized tooltips.
internalComponents() - Method in interface li.cil.oc.api.machine.MachineHost
List of all components that are built into this machine directly.
invalidate() - Method in class li.cil.oc.api.prefab.TileEntityEnvironment
 
invalidate() - Method in class li.cil.oc.api.prefab.TileEntitySidedEnvironment
 
Inventory - Interface in li.cil.oc.api.driver.item
This interface marks drivers for robot upgrades that provide inventory space to the robot.
inventoryCapacity(ItemStack) - Method in interface li.cil.oc.api.driver.item.Inventory
The additional amount of inventory space the specified item provides.
inventoryFor(ItemStack, EntityPlayer) - Method in interface li.cil.oc.api.detail.DriverAPI
Get an inventory implementation providing access to an item inventory.
inventoryFor(ItemStack, EntityPlayer) - Static method in class li.cil.oc.api.Driver
Get an inventory implementation providing access to an item inventory.
InventoryProvider - Interface in li.cil.oc.api.driver
Inventory providers are used to access contents of item inventories.
invoke(String, String, Object[]) - Method in interface li.cil.oc.api.machine.Machine
Makes the machine call a component callback.
invoke(Value, String, Object[]) - Method in interface li.cil.oc.api.machine.Machine
Makes the machine call a value callback.
invoke(String, Context, Object...) - Method in interface li.cil.oc.api.network.Component
Tries to call a function with the specified name on this component.
invoke(String, Context, Arguments) - Method in interface li.cil.oc.api.network.ManagedPeripheral
Calls a method from the list provided by ManagedPeripheral.methods().
isAdapter(Class<? extends EnvironmentHost>) - Method in class li.cil.oc.api.prefab.DriverItem
 
isAllowed() - Method in class li.cil.oc.api.event.RobotPlaceInAirEvent
Whether the placement is allowed.
isBackgroundFromPalette() - Method in interface li.cil.oc.api.internal.TextBuffer
true if the background color is from the color palette, meaning the value returned from TextBuffer.getBackgroundColor() is the color palette index.
isBackgroundFromPalette(int, int) - Method in interface li.cil.oc.api.internal.TextBuffer
Whether the background color of the text buffer at the specified location if from the color palette.
isBoolean(int) - Method in interface li.cil.oc.api.machine.Arguments
Tests whether the argument at the specified index is a boolean value.
isByteArray(int) - Method in interface li.cil.oc.api.machine.Arguments
Tests whether the argument at the specified index is a byte array.
isCallbackEnabled(String) - Method in interface li.cil.oc.api.network.FilteredEnvironment
Whether the callback with the specified name on this environment is enabled.
isComputer(Class<? extends EnvironmentHost>) - Method in class li.cil.oc.api.prefab.DriverItem
 
isDirectory(String) - Method in interface li.cil.oc.api.fs.FileSystem
Tests whether the object at the specified path is a directory.
isDouble(int) - Method in interface li.cil.oc.api.machine.Arguments
Tests whether the argument at the specified index is a double value.
isForegroundFromPalette() - Method in interface li.cil.oc.api.internal.TextBuffer
true if the foreground color is from the color palette, meaning the value returned from TextBuffer.getForegroundColor() is the color palette index.
isForegroundFromPalette(int, int) - Method in interface li.cil.oc.api.internal.TextBuffer
Whether the foreground color of the text buffer at the specified location if from the color palette.
isInitialized() - Method in interface li.cil.oc.api.machine.Architecture
Used to check if the machine is fully initialized.
isInteger(int) - Method in interface li.cil.oc.api.machine.Arguments
Tests whether the argument at the specified index is an integer value.
isItemStack(int) - Method in interface li.cil.oc.api.machine.Arguments
Tests whether the argument at the specified index is an item stack.
isNeighborOf(Node) - Method in interface li.cil.oc.api.network.Node
Checks whether this node is a neighbor of the specified node.
isPaused() - Method in interface li.cil.oc.api.machine.Context
Whether the computer is currently in a paused state.
isPeripheralBlacklisted() - Method in interface li.cil.oc.api.network.BlacklistedPeripheral
 
isPowerEnabled - Static variable in class li.cil.oc.api.API
Whether OpenComputers uses power.
isReadOnly() - Method in interface li.cil.oc.api.fs.FileSystem
Whether this file system is read-only.
isRenderingEnabled() - Method in interface li.cil.oc.api.internal.TextBuffer
Gets whether the contents of the buffer should currently be rendered.
isRobot(Class<? extends EnvironmentHost>) - Method in class li.cil.oc.api.prefab.DriverItem
 
isRotatable(Class<? extends EnvironmentHost>) - Method in class li.cil.oc.api.prefab.DriverItem
 
isRunning() - Method in interface li.cil.oc.api.machine.Context
Whether the computer is currently in a running state, i.e.
isServer(Class<? extends EnvironmentHost>) - Method in class li.cil.oc.api.prefab.DriverItem
 
isString(int) - Method in interface li.cil.oc.api.machine.Arguments
Tests whether the argument at the specified index is a string value.
isTable(int) - Method in interface li.cil.oc.api.machine.Arguments
Tests whether the argument at the specified index is a table.
isTablet(Class<? extends EnvironmentHost>) - Method in class li.cil.oc.api.prefab.DriverItem
 
isUsableByPlayer(Keyboard, EntityPlayer) - Method in interface li.cil.oc.api.internal.Keyboard.UsabilityChecker
Whether the specified keyboard is usable by the specified player.
item() - Method in interface li.cil.oc.api.detail.ItemInfo
Returns the item type of the represented item.
Item - Interface in li.cil.oc.api.driver
Interface for item component drivers.
ItemAPI - Interface in li.cil.oc.api.detail
 
itemDrivers() - Method in interface li.cil.oc.api.detail.DriverAPI
Get a list of all registered item drivers.
itemDrivers() - Static method in class li.cil.oc.api.Driver
Get a list of all registered item drivers.
ItemInfo - Interface in li.cil.oc.api.detail
 
items - Static variable in class li.cil.oc.api.API
 
Items - Class in li.cil.oc.api
Access to item definitions for all blocks and items provided by OpenComputers.
items - Variable in class li.cil.oc.api.prefab.DriverItem
 
ItemStackArrayValue - Class in li.cil.oc.api.prefab
 
ItemStackArrayValue(ItemStack[]) - Constructor for class li.cil.oc.api.prefab.ItemStackArrayValue
 
ItemStackArrayValue() - Constructor for class li.cil.oc.api.prefab.ItemStackArrayValue
 
ItemStackTabIconRenderer - Class in li.cil.oc.api.prefab
Simple implementation of a tab icon renderer using an item stack as its graphic.
ItemStackTabIconRenderer(ItemStack) - Constructor for class li.cil.oc.api.prefab.ItemStackTabIconRenderer
 

J

joinNewNetwork(Node) - Method in interface li.cil.oc.api.detail.NetworkAPI
Creates a new network with the specified node as its initial node.
joinNewNetwork(Node) - Static method in class li.cil.oc.api.Network
Creates a new network with the specified node as its initial node.
joinOrCreateNetwork(TileEntity) - Method in interface li.cil.oc.api.detail.NetworkAPI
Tries to add a tile entity's network node(s) at the specified coordinates to adjacent networks.
joinOrCreateNetwork(TileEntity) - Static method in class li.cil.oc.api.Network
Tries to add a tile entity's network node(s) at the specified coordinates to adjacent networks.
joinWirelessNetwork(WirelessEndpoint) - Method in interface li.cil.oc.api.detail.NetworkAPI
Makes a wireless endpoint join the wireless network defined by the mod.
joinWirelessNetwork(WirelessEndpoint) - Static method in class li.cil.oc.api.Network
Makes a wireless endpoint join the wireless network defined by the mod.

K

Keyboard - Interface in li.cil.oc.api.component
Deprecated.
Use li.cil.oc.api.internal.Keyboard instead.
Keyboard - Interface in li.cil.oc.api.internal
This interface is implemented by the keyboard component, to allow more flexible use of it.
Keyboard.UsabilityChecker - Interface in li.cil.oc.api.component
Deprecated.
Use li.cil.oc.api.internal.Keyboard.UsabilityChecker instead.
Keyboard.UsabilityChecker - Interface in li.cil.oc.api.internal
Contract interface that has to implemented for usability check overrides.
keyDown(char, int, EntityPlayer) - Method in interface li.cil.oc.api.internal.TextBuffer
Signals a key down event for the buffer.
keyUp(char, int, EntityPlayer) - Method in interface li.cil.oc.api.internal.TextBuffer
Signals a key up event for the buffer.

L

Label - Interface in li.cil.oc.api.fs
Used by file system components to get and set the file system's label.
lastError() - Method in interface li.cil.oc.api.machine.Machine
A string with the last error message.
lastModified(String) - Method in interface li.cil.oc.api.fs.FileSystem
Gets the timestamp of the last time the file at the specified path was written to.
leaveWirelessNetwork(WirelessEndpoint) - Method in interface li.cil.oc.api.detail.NetworkAPI
Removes a wireless endpoint from the wireless network.
leaveWirelessNetwork(WirelessEndpoint, int) - Method in interface li.cil.oc.api.detail.NetworkAPI
Removes a wireless endpoint from the wireless network of a specific dimension.
leaveWirelessNetwork(WirelessEndpoint) - Static method in class li.cil.oc.api.Network
Removes a wireless endpoint from the wireless network.
leaveWirelessNetwork(WirelessEndpoint, int) - Static method in class li.cil.oc.api.Network
Removes a wireless endpoint from the wireless network of a specific dimension.
length() - Method in interface li.cil.oc.api.fs.Handle
The total length of the file.
li.cil.oc.api - package li.cil.oc.api
This API provides interfaces and factory methods for the OpenComputers mod.
li.cil.oc.api.component - package li.cil.oc.api.component
This package contains interfaces to be implemented on components.
li.cil.oc.api.detail - package li.cil.oc.api.detail
This package contains implementation detail interfaces.
li.cil.oc.api.driver - package li.cil.oc.api.driver
This package contains driver related interfaces.
li.cil.oc.api.driver.item - package li.cil.oc.api.driver.item
This package contains item driver related interfaces.
li.cil.oc.api.event - package li.cil.oc.api.event
Events dispatched by OpenComputers to allow other mods to hook into some of its functionality.
li.cil.oc.api.fs - package li.cil.oc.api.fs
This package contains interfaces used by the file system implementation.
li.cil.oc.api.internal - package li.cil.oc.api.internal
This package provides interfaces that are implemented by OC internal classes so that they can be checked for and used by type checking and casting to these interfaces.
li.cil.oc.api.machine - package li.cil.oc.api.machine
This package provides low level machine access.
li.cil.oc.api.manual - package li.cil.oc.api.manual
This package contains manual related interfaces.
li.cil.oc.api.nanomachines - package li.cil.oc.api.nanomachines
 
li.cil.oc.api.network - package li.cil.oc.api.network
This package provides component networking related functionality.
li.cil.oc.api.prefab - package li.cil.oc.api.prefab
This package provides base implementations of some interfaces.
li.cil.oc.api.util - package li.cil.oc.api.util
 
Lifecycle - Interface in li.cil.oc.api.util
Implement this on ManagedEnvironments to be notified with proper lifecycle changes, instead of relying on something like Environment.onDisconnect(Node).
Lifecycle.LifecycleState - Enum in li.cil.oc.api.util
States an object can enter.
LimitReachedException - Exception in li.cil.oc.api.machine
Used to signal that the direct call limit for the current server tick has been reached in Machine.invoke(String, String, Object[]).
LimitReachedException() - Constructor for exception li.cil.oc.api.machine.LimitReachedException
 
lines - Variable in class li.cil.oc.api.event.SignChangeEvent
 
list(String) - Method in interface li.cil.oc.api.fs.FileSystem
Gets a list of all items in the specified folder.
load(NBTTagCompound) - Method in interface li.cil.oc.api.machine.Architecture
Restores the state of this architecture as previously saved in Architecture.save(NBTTagCompound).
load(NBTTagCompound) - Method in interface li.cil.oc.api.Persistable
Restores a previous state of the object from the specified NBT tag.
load(NBTTagCompound) - Method in class li.cil.oc.api.prefab.AbstractValue
 
load(NBTTagCompound) - Method in class li.cil.oc.api.prefab.ItemStackArrayValue
 
load(NBTTagCompound) - Method in class li.cil.oc.api.prefab.ManagedEnvironment
 
localBuffer() - Method in interface li.cil.oc.api.network.Connector
The energy stored in the local buffer.
localBufferSize() - Method in interface li.cil.oc.api.network.Connector
The size of the local buffer.
LuaArchitecture - Static variable in class li.cil.oc.api.Machine
The built-in Lua architecture.

M

machine - Static variable in class li.cil.oc.api.API
 
Machine - Class in li.cil.oc.api
This API is intended for people who would like to implement custom computer blocks or anything else hosting a computer.
Machine - Interface in li.cil.oc.api.machine
This interface allows interacting with a Machine obtained via the factory method Machine.create(MachineHost).
machine() - Method in interface li.cil.oc.api.machine.MachineHost
The machine currently hosted.
MachineAPI - Interface in li.cil.oc.api.detail
 
MachineHost - Interface in li.cil.oc.api.machine
This interface has to be implemented by 'hosts' of machine instances.
mainInventory() - Method in interface li.cil.oc.api.internal.Agent
The main inventory of this agent, which it (usually) also can interact with on its own.
makeDirectory(String) - Method in interface li.cil.oc.api.fs.FileSystem
Create the specified directory.
ManagedEnvironment - Interface in li.cil.oc.api.network
This kind of environment is managed by either a compatible inventory, such as a computer or floppy drive, or by an adapter block or similar.
ManagedEnvironment - Class in li.cil.oc.api.prefab
Simple base implementation of the ManagedEnvironment interface, so unused methods don't clutter the implementing class.
ManagedEnvironment() - Constructor for class li.cil.oc.api.prefab.ManagedEnvironment
 
ManagedPeripheral - Interface in li.cil.oc.api.network
This interface can be used with an Environment and is intended to be used for environments wrapping a ComputerCraft peripheral.
manual - Static variable in class li.cil.oc.api.API
 
Manual - Class in li.cil.oc.api
This API allows interfacing with the in-game manual of OpenComputers.
ManualAPI - Interface in li.cil.oc.api.detail
 
markChanged(int) - Method in interface li.cil.oc.api.internal.Rack
Mark the mountable in the specified slot as changed.
markChanged() - Method in interface li.cil.oc.api.network.EnvironmentHost
Marks the container as "changed" so that it knows it has to be saved again in the next world save.
maxComponents() - Method in interface li.cil.oc.api.machine.Machine
The maximum number of components this machine can currently support.
maxX - Variable in class li.cil.oc.api.event.GeolyzerEvent.Scan
The relative maximal x coordinate of the box being scanned (inclusive).
maxY - Variable in class li.cil.oc.api.event.GeolyzerEvent.Scan
The relative maximal y coordinate of the box being scanned (inclusive).
maxZ - Variable in class li.cil.oc.api.event.GeolyzerEvent.Scan
The relative maximal z coordinate of the box being scanned (inclusive).
Memory - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
Memory - Interface in li.cil.oc.api.driver.item
Use this interface to implement item drivers extending the memory of a computer.
Memory - Static variable in class li.cil.oc.api.driver.item.Slot
 
message - Variable in class li.cil.oc.api.machine.ExecutionResult.Error
The error message.
Message - Interface in li.cil.oc.api.network
This type is used to deliver messages sent in a component network.
methods(Object) - Method in interface li.cil.oc.api.machine.Machine
Get a list of all methods and their annotations of the specified object.
methods() - Method in interface li.cil.oc.api.network.Component
The list of names of methods exposed by this component.
methods() - Method in interface li.cil.oc.api.network.ManagedPeripheral
Get the list of methods provided by this environment, in addition to methods marked as callbacks.
MethodWhitelist - Interface in li.cil.oc.api.driver
This interface can be implemented by environments to enforce a method whitelist.
Microcontroller - Interface in li.cil.oc.api.internal
This interface is implemented as a marker by microcontrollers.
minX - Variable in class li.cil.oc.api.event.GeolyzerEvent.Scan
The relative minimal x coordinate of the box being scanned (inclusive).
minY - Variable in class li.cil.oc.api.event.GeolyzerEvent.Scan
The relative minimal y coordinate of the box being scanned (inclusive).
minZ - Variable in class li.cil.oc.api.event.GeolyzerEvent.Scan
The relative minimal z coordinate of the box being scanned (inclusive).
Mode - Enum in li.cil.oc.api.fs
Possible file modes.
mountable - Variable in class li.cil.oc.api.event.RackMountableRenderEvent
The index of the mountable in the rack the event is fired for.
MountPoint() - Constructor for class li.cil.oc.api.event.RobotRenderEvent.MountPoint
 
MountPoint(String) - Constructor for class li.cil.oc.api.event.RobotRenderEvent.MountPoint
 
mountPoints - Variable in class li.cil.oc.api.event.RobotRenderEvent
Points on the robot at which component models may be rendered.
mouseDown(double, double, int, EntityPlayer) - Method in interface li.cil.oc.api.internal.TextBuffer
Signals a mouse button down event for the buffer.
mouseDrag(double, double, int, EntityPlayer) - Method in interface li.cil.oc.api.internal.TextBuffer
Signals a mouse drag event for the buffer.
mouseScroll(double, double, int, EntityPlayer) - Method in interface li.cil.oc.api.internal.TextBuffer
Signals a mouse wheel scroll event for the buffer.
mouseUp(double, double, int, EntityPlayer) - Method in interface li.cil.oc.api.internal.TextBuffer
Signals a mouse button release event for the buffer.
Multimedia - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
MultiTank - Interface in li.cil.oc.api.internal
Implemented by objects with multiple internal tanks.
MutableProcessor - Interface in li.cil.oc.api.driver.item
May be implemented in processor drivers of processors that can be reconfigured.

N

name() - Method in interface li.cil.oc.api.detail.ItemInfo
The name of this item descriptor.
name - Variable in class li.cil.oc.api.event.RobotRenderEvent.MountPoint
The mount point's reference name.
name() - Method in interface li.cil.oc.api.internal.Agent
Get the name of this agent.
name() - Method in interface li.cil.oc.api.machine.Signal
The name of the signal.
name() - Method in interface li.cil.oc.api.network.Component
The name of the node.
name() - Method in interface li.cil.oc.api.network.Message
The name of this message.
NamedBlock - Interface in li.cil.oc.api.driver
This interface can be added to environments generated by block drivers to provide a 'preferred name' in case the driver is merged with other block drivers (interface based drivers such as for IInventory).
nanomachines - Static variable in class li.cil.oc.api.API
 
Nanomachines - Class in li.cil.oc.api
This API allows interfacing with nanomachines.
NanomachinesAPI - Interface in li.cil.oc.api.detail
 
navigate(String) - Method in interface li.cil.oc.api.detail.ManualAPI
Navigate to a page in the manual.
navigate(String) - Static method in class li.cil.oc.api.Manual
Navigate to a page in the manual.
neighbors(Node) - Method in interface li.cil.oc.api.network.Network
The list of nodes the specified node is directly connected to.
neighbors() - Method in interface li.cil.oc.api.network.Node
Get the list of neighbor nodes, i.e.
network - Static variable in class li.cil.oc.api.API
 
Network - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
Network - Class in li.cil.oc.api
This class provides factories for networks and nodes.
Network - Interface in li.cil.oc.api.network
Interface for interacting with networks.
network() - Method in interface li.cil.oc.api.network.Node
The network this node is currently in.
NetworkActivityEvent - Class in li.cil.oc.api.event
Events for handling network activity and representing it on the client.
NetworkActivityEvent(TileEntity, NBTTagCompound) - Constructor for class li.cil.oc.api.event.NetworkActivityEvent
Constructor for tile entity hosted network cards.
NetworkActivityEvent(World, double, double, double, NBTTagCompound) - Constructor for class li.cil.oc.api.event.NetworkActivityEvent
Constructor for arbitrarily hosted network cards.
NetworkActivityEvent.Client - Class in li.cil.oc.api.event
 
NetworkActivityEvent.Server - Class in li.cil.oc.api.event
 
NetworkAPI - Interface in li.cil.oc.api.detail
 
newNode(Environment, Visibility) - Method in interface li.cil.oc.api.detail.NetworkAPI
Factory function for creating new nodes.
newNode(Environment, Visibility) - Static method in class li.cil.oc.api.Network
Factory function for creating new nodes.
newPacket(String, String, int, Object[]) - Method in interface li.cil.oc.api.detail.NetworkAPI
Creates a new network packet as it would be sent or received by a network card.
newPacket(NBTTagCompound) - Method in interface li.cil.oc.api.detail.NetworkAPI
Re-creates a network packet from a previously stored state.
newPacket(String, String, int, Object[]) - Static method in class li.cil.oc.api.Network
Creates a new network packet as it would be sent or received by a network card.
newPacket(NBTTagCompound) - Static method in class li.cil.oc.api.Network
Re-creates a network packet from a previously stored state.
node() - Method in interface li.cil.oc.api.machine.Context
The node through which the computer is attached to the component network.
node() - Method in interface li.cil.oc.api.network.Environment
The node this environment wraps.
node(String) - Method in interface li.cil.oc.api.network.Network
Get the network node with the specified address.
Node - Interface in li.cil.oc.api.network
A single node in a Network.
node() - Method in class li.cil.oc.api.prefab.ManagedEnvironment
 
node - Variable in class li.cil.oc.api.prefab.TileEntityEnvironment
This must be set in subclasses to the node that is used to represent this tile entity.
node() - Method in class li.cil.oc.api.prefab.TileEntityEnvironment
 
nodes() - Method in interface li.cil.oc.api.network.Network
The list of all nodes in this network.
nodes(Node) - Method in interface li.cil.oc.api.network.Network
The list of addressed nodes in the network reachable by the specified node.
nodes - Variable in class li.cil.oc.api.prefab.TileEntitySidedEnvironment
 
None - Static variable in class li.cil.oc.api.driver.item.Slot
 
None - Static variable in class li.cil.oc.api.driver.item.UpgradeRenderer.MountPointName
 

O

offset - Variable in class li.cil.oc.api.event.RobotRenderEvent.MountPoint
The position of the mount point, relative to the robot's center.
onActivate(EntityPlayer, float, float) - Method in interface li.cil.oc.api.component.RackMountable
This gets called when the server rack is activated by a player, and hits the space occupied by this mountable.
onAnalyze(EntityPlayer, int, float, float, float) - Method in interface li.cil.oc.api.network.Analyzable
Called when a player uses the analyzer tool on the tile entity's block.
onChunkUnload() - Method in class li.cil.oc.api.prefab.TileEntityEnvironment
 
onChunkUnload() - Method in class li.cil.oc.api.prefab.TileEntitySidedEnvironment
 
onConnect() - Method in interface li.cil.oc.api.machine.Architecture
Called when the owning machine was connected to the component network.
onConnect(Node) - Method in interface li.cil.oc.api.network.Environment
This is called when a node is added to a network.
onConnect(Node) - Method in class li.cil.oc.api.prefab.ManagedEnvironment
 
onConnect(Node) - Method in class li.cil.oc.api.prefab.TileEntityEnvironment
 
onDisable(DisableReason) - Method in interface li.cil.oc.api.nanomachines.Behavior
Called when this behavior becomes inactive.
onDisable(DisableReason) - Method in class li.cil.oc.api.prefab.AbstractBehavior
 
onDisconnect(Node) - Method in interface li.cil.oc.api.network.Environment
This is called when a node is removed from the network.
onDisconnect(Node) - Method in class li.cil.oc.api.prefab.ManagedEnvironment
 
onDisconnect(Node) - Method in class li.cil.oc.api.prefab.TileEntityEnvironment
 
onEnable() - Method in interface li.cil.oc.api.nanomachines.Behavior
Called when this behavior becomes active because all its required inputs are now satisfied.
onEnable() - Method in class li.cil.oc.api.prefab.AbstractBehavior
 
onHostChanged() - Method in interface li.cil.oc.api.machine.Machine
This must be called from the host when something relevant to the machine changes, such as a change in the amount of available memory.
onLifecycleStateChange(Lifecycle.LifecycleState) - Method in interface li.cil.oc.api.util.Lifecycle
Called when the state of the object changes.
onMachineConnect(Node) - Method in interface li.cil.oc.api.machine.MachineHost
This is called on the owner when the machine's Environment.onConnect(Node) method gets called.
onMachineDisconnect(Node) - Method in interface li.cil.oc.api.machine.MachineHost
Like MachineHost.onMachineConnect(Node), except that this is called whenever the machine's Environment.onDisconnect(Node) method is called.
onMessage(Message) - Method in interface li.cil.oc.api.network.Environment
This is the generic message handler.
onMessage(Message) - Method in class li.cil.oc.api.prefab.ManagedEnvironment
 
onMessage(Message) - Method in class li.cil.oc.api.prefab.TileEntityEnvironment
 
onMouseClick(int, int) - Method in interface li.cil.oc.api.manual.InteractiveImageRenderer
Called when the mouse is clicked while over this image renderer.
onMouseClick(int, int) - Method in class li.cil.oc.api.prefab.AbstractInteractiveImageRenderer
 
onSignal() - Method in interface li.cil.oc.api.machine.Architecture
Called when a new signal is queued in the hosting Machine.
open(String, Mode) - Method in interface li.cil.oc.api.fs.FileSystem
Opens a file for reading or writing.
openFor(EntityPlayer) - Method in interface li.cil.oc.api.detail.ManualAPI
Open the manual for the specified player.
openFor(EntityPlayer) - Static method in class li.cil.oc.api.Manual
Open the manual for the specified player.
optAny(int, Object) - Method in interface li.cil.oc.api.machine.Arguments
Get whatever is at the specified index.
optBoolean(int, boolean) - Method in interface li.cil.oc.api.machine.Arguments
Try to get a boolean value at the specified index.
optByteArray(int, byte[]) - Method in interface li.cil.oc.api.machine.Arguments
Try to get a byte array at the specified index.
optDouble(int, double) - Method in interface li.cil.oc.api.machine.Arguments
Try to get a double value at the specified index.
optInteger(int, int) - Method in interface li.cil.oc.api.machine.Arguments
Try to get an integer value at the specified index.
options - Variable in class li.cil.oc.api.event.GeolyzerEvent
The options the operation was invoked with.
optItemStack(int, ItemStack) - Method in interface li.cil.oc.api.machine.Arguments
Try to get an item stack at the specified index.
optString(int, String) - Method in interface li.cil.oc.api.machine.Arguments
Try to get a string value at the specified index.
optTable(int, Map) - Method in interface li.cil.oc.api.machine.Arguments
Try to get a table at the specified index.
ownerName() - Method in interface li.cil.oc.api.internal.Agent
The name of the player owning this agent, e.g.
ownerUUID() - Method in interface li.cil.oc.api.internal.Agent
The UUID of the player owning this agent, e.g.

P

Packet - Interface in li.cil.oc.api.network
These packets represent messages sent using a network card or wireless network card, and can be relayed by the switch and access point blocks.
pathFor(ItemStack) - Method in interface li.cil.oc.api.detail.ManualAPI
Look up the documentation path for the specified item stack.
pathFor(World, int, int, int) - Method in interface li.cil.oc.api.detail.ManualAPI
Look up the documentation for the specified block in the world.
pathFor(ItemStack) - Static method in class li.cil.oc.api.Manual
Look up the documentation path for the specified item stack.
pathFor(World, int, int, int) - Static method in class li.cil.oc.api.Manual
Look up the documentation for the specified block in the world.
pathFor(ItemStack) - Method in interface li.cil.oc.api.manual.PathProvider
Get the path to the documentation page for the provided item stack.
pathFor(World, int, int, int) - Method in interface li.cil.oc.api.manual.PathProvider
Get the path to the documentation page for the provided block.
PathProvider - Interface in li.cil.oc.api.manual
Allows providing paths for item stacks and blocks in the world.
pause(double) - Method in interface li.cil.oc.api.machine.Context
Pauses the computer for the specified duration.
Persistable - Interface in li.cil.oc.api
An object that can be persisted to an NBT tag and restored back from it.
player - Variable in class li.cil.oc.api.event.RobotAnalyzeEvent
The player that used the analyzer.
player() - Method in interface li.cil.oc.api.internal.Agent
Returns the fake player used to represent the agent as an entity for certain actions that require one.
player() - Method in interface li.cil.oc.api.internal.Tablet
Returns the player last holding the tablet.
player - Variable in class li.cil.oc.api.prefab.AbstractBehavior
The player this behavior was created for.
popSignal() - Method in interface li.cil.oc.api.machine.Machine
Tries to pop a signal from the queue and returns it.
port() - Method in interface li.cil.oc.api.network.Packet
The port this packet is being sent to.
position() - Method in interface li.cil.oc.api.fs.Handle
The current position in the file.
Post(Agent, Entity) - Constructor for class li.cil.oc.api.event.RobotAttackEntityEvent.Post
 
Post(Agent, double) - Constructor for class li.cil.oc.api.event.RobotBreakBlockEvent.Post
 
Post(Agent, ForgeDirection) - Constructor for class li.cil.oc.api.event.RobotMoveEvent.Post
 
Post(Agent, ItemStack, World, int, int, int) - Constructor for class li.cil.oc.api.event.RobotPlaceBlockEvent.Post
 
Post(TileEntitySign, String[]) - Constructor for class li.cil.oc.api.event.SignChangeEvent.Post
 
Power - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
Pre(Agent, Entity) - Constructor for class li.cil.oc.api.event.RobotAttackEntityEvent.Pre
 
Pre(Agent, World, int, int, int, double) - Constructor for class li.cil.oc.api.event.RobotBreakBlockEvent.Pre
 
Pre(Agent, ForgeDirection) - Constructor for class li.cil.oc.api.event.RobotMoveEvent.Pre
 
Pre(Agent, ItemStack, World, int, int, int) - Constructor for class li.cil.oc.api.event.RobotPlaceBlockEvent.Pre
 
Pre(TileEntitySign, String[]) - Constructor for class li.cil.oc.api.event.SignChangeEvent.Pre
 
preferredName() - Method in interface li.cil.oc.api.driver.NamedBlock
The preferred name, in case the driver is merged with others.
Printer - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
priority() - Method in interface li.cil.oc.api.driver.NamedBlock
This is used to determine which name to use in case multiple environments with this interface are merged.
Processor - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
Processor - Interface in li.cil.oc.api.driver.item
Use this interface to implement item drivers extending the number of components a server can control.
Product - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceAttribute
 
providedEnvironment(ItemStack) - Method in interface li.cil.oc.api.driver.EnvironmentAware
Deprecated.
Get the type of environment that would be created for the specified block or item.
providedSlot(ItemStack) - Method in interface li.cil.oc.api.driver.item.Container
The type of slot provided as the dynamic slot.
providedTier(ItemStack) - Method in interface li.cil.oc.api.driver.item.Container
The maximum item tier of the items that can be placed into the slot provided by the specified container.

R

rack - Variable in class li.cil.oc.api.event.RackMountableRenderEvent
The rack that house the mountable this event is fired for.
Rack - Interface in li.cil.oc.api.internal
This interface is implemented by the rack tile entity.
rack() - Method in interface li.cil.oc.api.internal.Server
The server rack this server is in.
RackBusConnectable - Interface in li.cil.oc.api.component
Use this interface on environments that may receive network messages from a bus in a rack.
RackMountable - Interface in li.cil.oc.api.component
Use this interface on environments provided by drivers for items that can be installed in a server rack.
RackMountable - Static variable in class li.cil.oc.api.driver.item.Slot
 
RackMountableRenderEvent - Class in li.cil.oc.api.event
Fired to allow rendering a custom overlay for RackMountables.
RackMountableRenderEvent(Rack, int, NBTTagCompound) - Constructor for class li.cil.oc.api.event.RackMountableRenderEvent
 
RackMountableRenderEvent.Block - Class in li.cil.oc.api.event
Fired when the static rack model is rendered.
RackMountableRenderEvent.TileEntity - Class in li.cil.oc.api.event
Fired when the dynamic rack model is rendered.
rawSetBackground(int, int, int[][]) - Method in interface li.cil.oc.api.internal.TextBuffer
Overwrites a portion of the background color information in raw mode.
rawSetForeground(int, int, int[][]) - Method in interface li.cil.oc.api.internal.TextBuffer
Overwrites a portion of the foreground color information in raw mode.
rawSetText(int, int, char[][]) - Method in interface li.cil.oc.api.internal.TextBuffer
Overwrites a portion of the text in raw mode.
reachability() - Method in interface li.cil.oc.api.network.Node
The reachability of this node.
reachableNodes() - Method in interface li.cil.oc.api.network.Node
Get the list of nodes reachable from this node, based on their Node.reachability().
read(byte[]) - Method in interface li.cil.oc.api.fs.Handle
Tries to read as much data from the file as fits into the specified array.
readBehaviorFromNBT(EntityPlayer, NBTTagCompound) - Method in class li.cil.oc.api.prefab.AbstractProvider
Called when loading a behavior from NBT.
readFromNBT(EntityPlayer, NBTTagCompound) - Method in interface li.cil.oc.api.nanomachines.BehaviorProvider
Restore a behavior from NBT.
readFromNBT(EntityPlayer, NBTTagCompound) - Method in class li.cil.oc.api.prefab.AbstractProvider
 
readFromNBT(NBTTagCompound) - Method in class li.cil.oc.api.prefab.TileEntityEnvironment
 
readFromNBT(NBTTagCompound) - Method in class li.cil.oc.api.prefab.TileEntitySidedEnvironment
 
reboot - Variable in class li.cil.oc.api.machine.ExecutionResult.Shutdown
Whether to reboot.
receivePacket(Packet) - Method in interface li.cil.oc.api.component.RackBusConnectable
Called to inject a network packet that arrived on the bus this environment is connected to in the hosting rack.
receivePacket(Packet, WirelessEndpoint) - Method in interface li.cil.oc.api.network.WirelessEndpoint
Makes the endpoint receive a single packet.
recomputeMemory(Iterable<ItemStack>) - Method in interface li.cil.oc.api.machine.Architecture
This is called when the amount of memory in the machine may have changed.
reconfigure() - Method in interface li.cil.oc.api.nanomachines.Controller
Reconfigure the neural connections managed by this controller.
registerAssemblerFilter(String) - Static method in class li.cil.oc.api.IMC
Register a callback that is used as a filter for assembler templates.
registerAssemblerTemplate(String, String, String, String, Class, int[], int[], Iterable<Pair<String, Integer>>) - Static method in class li.cil.oc.api.IMC
Register a new template for the assembler.
registerCustomPowerSystem() - Static method in class li.cil.oc.api.IMC
Notifies OpenComputers that there is some 3rd-party power system present that adds integration on its side.
registerDisassemblerTemplate(String, String, String) - Static method in class li.cil.oc.api.IMC
Register a new template for the disassembler.
registerEEPROM(String, byte[], byte[], boolean) - Method in interface li.cil.oc.api.detail.ItemAPI
Register a single custom EEPROM.
registerEEPROM(String, byte[], byte[], boolean) - Static method in class li.cil.oc.api.Items
Register a single custom EEPROM.
registerFloppy(String, int, Callable<FileSystem>) - Method in interface li.cil.oc.api.detail.ItemAPI
registerFloppy(String, int, Callable<FileSystem>, boolean) - Method in interface li.cil.oc.api.detail.ItemAPI
Register a single loot floppy disk.
registerFloppy(String, int, Callable<FileSystem>) - Static method in class li.cil.oc.api.Items
registerFloppy(String, int, Callable<FileSystem>, boolean) - Static method in class li.cil.oc.api.Items
Register a single loot floppy disk.
registerInkProvider(String) - Static method in class li.cil.oc.api.IMC
Register a provider for ink usable in the 3D printer.
registerItemCharge(String, String, String) - Static method in class li.cil.oc.api.IMC
Register a handler for items that can be charged.
registerProgramDiskLabel(String, String, String...) - Static method in class li.cil.oc.api.IMC
Register a mapping of program name to loot disk.
registerToolDurabilityProvider(String) - Static method in class li.cil.oc.api.IMC
Register a callback for providing tool durability information.
registerWrenchTool(String) - Static method in class li.cil.oc.api.IMC
Register a callback handling a wrench tool.
registerWrenchToolCheck(String) - Static method in class li.cil.oc.api.IMC
Register a callback for checking if an item is a wrench.
remove(Node) - Method in interface li.cil.oc.api.network.Network
Removes a node from the network.
remove() - Method in interface li.cil.oc.api.network.Node
Removes this node from its network.
removeUser(String) - Method in interface li.cil.oc.api.machine.Machine
Removes a player as a user from this machine, by username.
rename(String, String) - Method in interface li.cil.oc.api.fs.FileSystem
Moves / renames a file or folder.
render(ItemStack, RobotRenderEvent.MountPoint, Robot, float) - Method in interface li.cil.oc.api.driver.item.UpgradeRenderer
Render the specified upgrade on a robot.
render(int, int) - Method in interface li.cil.oc.api.manual.ImageRenderer
Render the image, with specified maximum width.
render() - Method in interface li.cil.oc.api.manual.TabIconRenderer
Called when icon of a tab should be rendered.
render() - Method in class li.cil.oc.api.prefab.ItemStackTabIconRenderer
 
render() - Method in class li.cil.oc.api.prefab.TextureTabIconRenderer
 
renderer - Variable in class li.cil.oc.api.event.RackMountableRenderEvent.Block
The renderer used for rendering the block.
renderHeight() - Method in interface li.cil.oc.api.internal.TextBuffer
The natural height of the rendered text.
renderOverlay(ResourceLocation) - Method in class li.cil.oc.api.event.RackMountableRenderEvent.TileEntity
Utility method for rendering a texture as the front-side overlay.
renderOverlay(ResourceLocation, float, float) - Method in class li.cil.oc.api.event.RackMountableRenderEvent.TileEntity
Utility method for rendering a texture as the front-side overlay over a specified horizontal area.
renderText() - Method in interface li.cil.oc.api.internal.TextBuffer
Renders the text displayed on the buffer.
renderWidth() - Method in interface li.cil.oc.api.internal.TextBuffer
The natural width of the rendered text.
reset() - Method in interface li.cil.oc.api.detail.ManualAPI
Reset the history of the manual.
reset() - Static method in class li.cil.oc.api.Manual
Reset the history of the manual.
reset(Context, Arguments) - Method in class li.cil.oc.api.prefab.ItemStackArrayValue
 
ResourceContentProvider - Class in li.cil.oc.api.prefab
Basic implementation of a content provider based on Minecraft's resource loading framework.
ResourceContentProvider(String, String) - Constructor for class li.cil.oc.api.prefab.ResourceContentProvider
 
ResourceContentProvider(String) - Constructor for class li.cil.oc.api.prefab.ResourceContentProvider
 
Robot - Interface in li.cil.oc.api.internal
This interface allows interaction with robots.
RobotAnalyzeEvent - Class in li.cil.oc.api.event
Fired when an analyzer is used on a robot.
RobotAnalyzeEvent(Agent, EntityPlayer) - Constructor for class li.cil.oc.api.event.RobotAnalyzeEvent
 
RobotAttackEntityEvent - Class in li.cil.oc.api.event
 
RobotAttackEntityEvent(Agent, Entity) - Constructor for class li.cil.oc.api.event.RobotAttackEntityEvent
 
RobotAttackEntityEvent.Post - Class in li.cil.oc.api.event
Fired after a robot has attacked an entity.
RobotAttackEntityEvent.Pre - Class in li.cil.oc.api.event
Fired when a robot is about to attack an entity.
RobotBreakBlockEvent - Class in li.cil.oc.api.event
 
RobotBreakBlockEvent(Agent) - Constructor for class li.cil.oc.api.event.RobotBreakBlockEvent
 
RobotBreakBlockEvent.Post - Class in li.cil.oc.api.event
Fired after a robot broke a block.
RobotBreakBlockEvent.Pre - Class in li.cil.oc.api.event
Fired when a robot is about to break a block.
RobotEvent - Class in li.cil.oc.api.event
Base class for events generated by robots.
RobotEvent(Agent) - Constructor for class li.cil.oc.api.event.RobotEvent
 
RobotExhaustionEvent - Class in li.cil.oc.api.event
Fired when a robot performed an action that would cause exhaustion for a player.
RobotExhaustionEvent(Agent, double) - Constructor for class li.cil.oc.api.event.RobotExhaustionEvent
 
RobotMoveEvent - Class in li.cil.oc.api.event
 
RobotMoveEvent(Agent, ForgeDirection) - Constructor for class li.cil.oc.api.event.RobotMoveEvent
 
RobotMoveEvent.Post - Class in li.cil.oc.api.event
Fired after a robot moved.
RobotMoveEvent.Pre - Class in li.cil.oc.api.event
Fired when a robot is about to move.
RobotPlaceBlockEvent - Class in li.cil.oc.api.event
 
RobotPlaceBlockEvent(Agent, ItemStack, World, int, int, int) - Constructor for class li.cil.oc.api.event.RobotPlaceBlockEvent
 
RobotPlaceBlockEvent.Post - Class in li.cil.oc.api.event
Fired after a robot placed a block.
RobotPlaceBlockEvent.Pre - Class in li.cil.oc.api.event
Fired when a robot is about to place a block.
RobotPlaceInAirEvent - Class in li.cil.oc.api.event
This event is fired when a robot tries to place a block and has no point of reference, i.e.
RobotPlaceInAirEvent(Agent) - Constructor for class li.cil.oc.api.event.RobotPlaceInAirEvent
 
RobotRenderEvent - Class in li.cil.oc.api.event
Fired directly before the robot's chassis is rendered.
RobotRenderEvent(Agent, RobotRenderEvent.MountPoint[]) - Constructor for class li.cil.oc.api.event.RobotRenderEvent
 
RobotRenderEvent.MountPoint - Class in li.cil.oc.api.event
Describes points on the robot model at which components are "mounted", i.e.
RobotUsedToolEvent - Class in li.cil.oc.api.event
 
RobotUsedToolEvent(Agent, ItemStack, ItemStack, double) - Constructor for class li.cil.oc.api.event.RobotUsedToolEvent
 
RobotUsedToolEvent.ApplyDamageRate - Class in li.cil.oc.api.event
Fired when a robot used a tool and the previously fired damage rate computation returned a value smaller than one.
RobotUsedToolEvent.ComputeDamageRate - Class in li.cil.oc.api.event
Fired when a robot used a tool and is about to apply the damage rate to partially undo the durability loss.
Rotatable - Interface in li.cil.oc.api.internal
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.
rotation - Variable in class li.cil.oc.api.event.RobotRenderEvent.MountPoint
The orientation of the mount point specified by the angle and the vector to rotate around.
runSynchronized() - Method in interface li.cil.oc.api.machine.Architecture
Performs a synchronized call initialized in a previous call to Architecture.runThreaded(boolean).
runThreaded(boolean) - Method in interface li.cil.oc.api.machine.Architecture
Continues execution of the machine.

S

save(NBTTagCompound) - Method in interface li.cil.oc.api.machine.Architecture
Saves the architecture for later restoration, e.g.
save(NBTTagCompound) - Method in interface li.cil.oc.api.network.Packet
Saves the packet's data to the specified compound tag.
save(NBTTagCompound) - Method in interface li.cil.oc.api.Persistable
Saves the current state of the object into the specified NBT tag.
save(NBTTagCompound) - Method in class li.cil.oc.api.prefab.AbstractValue
 
save(NBTTagCompound) - Method in class li.cil.oc.api.prefab.ItemStackArrayValue
 
save(NBTTagCompound) - Method in class li.cil.oc.api.prefab.ManagedEnvironment
 
Scan(EnvironmentHost, Map<?, ?>, int, int, int, int, int, int) - Constructor for class li.cil.oc.api.event.GeolyzerEvent.Scan
 
seek(long) - Method in interface li.cil.oc.api.fs.Handle
Jump to the specified position in the file, if possible.
selectedSlot() - Method in interface li.cil.oc.api.internal.Agent
Gets the index of the currently selected slot in the agent's inventory.
selectedTank() - Method in interface li.cil.oc.api.internal.Agent
Get the index of the currently selected tank.
sendToAddress(Node, String, String, Object...) - Method in interface li.cil.oc.api.network.Network
Sends a message to the node with the specified address.
sendToAddress(String, String, Object...) - Method in interface li.cil.oc.api.network.Node
Send a message to a node with the specified address.
sendToNeighbors(Node, String, Object...) - Method in interface li.cil.oc.api.network.Network
Sends a message to all addressed, visible neighbors of the source node.
sendToNeighbors(String, Object...) - Method in interface li.cil.oc.api.network.Node
Send a message to all neighbors of this node.
sendToReachable(Node, String, Object...) - Method in interface li.cil.oc.api.network.Network
Sends a message to all addressed nodes reachable to the source node.
sendToReachable(String, Object...) - Method in interface li.cil.oc.api.network.Node
Send a message to all nodes reachable from this node.
sendToVisible(Node, String, Object...) - Method in interface li.cil.oc.api.network.Network
Sends a message to all addressed nodes visible to the source node.
sendToVisible(String, Object...) - Method in interface li.cil.oc.api.network.Node
Send a message to all nodes visible from this node.
sendWirelessPacket(WirelessEndpoint, double, Packet) - Method in interface li.cil.oc.api.detail.NetworkAPI
Sends a packet via the wireless network.
sendWirelessPacket(WirelessEndpoint, double, Packet) - Static method in class li.cil.oc.api.Network
Sends a packet via the wireless network.
Serial - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceAttribute
 
Server(String, TileEntity, Node) - Constructor for class li.cil.oc.api.event.FileSystemAccessEvent.Server
 
Server(String, World, double, double, double, Node) - Constructor for class li.cil.oc.api.event.FileSystemAccessEvent.Server
 
Server(TileEntity, Node) - Constructor for class li.cil.oc.api.event.NetworkActivityEvent.Server
 
Server(World, double, double, double, Node) - Constructor for class li.cil.oc.api.event.NetworkActivityEvent.Server
 
Server - Interface in li.cil.oc.api.internal
This interface is implemented as a marker by servers in racks.
set(int, int, String, boolean) - Method in interface li.cil.oc.api.internal.TextBuffer
Write a string into the text buffer.
setAllowed(boolean) - Method in class li.cil.oc.api.event.RobotPlaceInAirEvent
Set whether the placement is allowed, can be used to allow robots to place blocks in thin air.
setArchitecture(ItemStack, Class<? extends Architecture>) - Method in interface li.cil.oc.api.driver.item.MutableProcessor
Set the architecture to use for the specified processor.
setAspectRatio(double, double) - Method in interface li.cil.oc.api.internal.TextBuffer
Set the 'aspect ratio' of the buffer.
setBackgroundColor(int) - Method in interface li.cil.oc.api.internal.TextBuffer
Set the active background color, not using a palette.
setBackgroundColor(int, boolean) - Method in interface li.cil.oc.api.internal.TextBuffer
Set the active background color.
setBreakTime(double) - Method in class li.cil.oc.api.event.RobotBreakBlockEvent.Pre
Sets the time it should take the robot to break the block.
setColor(int) - Method in interface li.cil.oc.api.internal.Colored
Set the color value.
setColorDepth(TextBuffer.ColorDepth) - Method in interface li.cil.oc.api.internal.TextBuffer
Set the active color depth for this buffer.
setCostPerTick(double) - Method in interface li.cil.oc.api.machine.Machine
Sets the amount of energy this machine consumes per tick when it is running.
setDamageRate(double) - Method in class li.cil.oc.api.event.RobotUsedToolEvent.ComputeDamageRate
Set the rate at which the tool actually gets damaged.
setEnergyCostPerTick(double) - Method in interface li.cil.oc.api.internal.TextBuffer
Controls how much energy the buffer will consume per tick.
setForegroundColor(int) - Method in interface li.cil.oc.api.internal.TextBuffer
Set the active foreground color, not using a palette.
setForegroundColor(int, boolean) - Method in interface li.cil.oc.api.internal.TextBuffer
Set the active foreground color.
setFrontTextureOverride(IIcon) - Method in class li.cil.oc.api.event.RackMountableRenderEvent.Block
Set the texture to use for the front of the mountable.
setInput(int, boolean) - Method in interface li.cil.oc.api.nanomachines.Controller
Set the state of the input with the specified index.
setLabel(String) - Method in interface li.cil.oc.api.fs.Label
Set the new value of this label.
setLastModified(String, long) - Method in interface li.cil.oc.api.fs.FileSystem
Sets the time a file or folder was supposedly last modified.
setLocalBufferSize(double) - Method in interface li.cil.oc.api.network.Connector
Change the size of the connectors local buffer.
setMaximumColorDepth(TextBuffer.ColorDepth) - Method in interface li.cil.oc.api.internal.TextBuffer
Sets the maximum color depth supported by this buffer.
setMaximumResolution(int, int) - Method in interface li.cil.oc.api.internal.TextBuffer
Sets the maximum resolution supported by this buffer.
setName(String) - Method in interface li.cil.oc.api.internal.Agent
Set the name of the agent.
setNode(Node) - Method in class li.cil.oc.api.prefab.ManagedEnvironment
 
setPaletteColor(int, int) - Method in interface li.cil.oc.api.internal.TextBuffer
Set the color of the active color palette at the specified index.
setPowerState(boolean) - Method in interface li.cil.oc.api.internal.TextBuffer
Set whether the buffer is powered on.
setRenderingEnabled(boolean) - Method in interface li.cil.oc.api.internal.TextBuffer
Set whether the contents of the buffer should currently be rendered.
setResolution(int, int) - Method in interface li.cil.oc.api.internal.TextBuffer
Set the buffer's active resolution.
setSelectedSlot(int) - Method in interface li.cil.oc.api.internal.Agent
Set the index of the currently selected slot.
setSelectedTank(int) - Method in interface li.cil.oc.api.internal.Agent
Set the index of the currently selected tank.
setStackInSlot(int, ItemStack) - Method in interface li.cil.oc.api.internal.Database
Set the contents of a slot in the database upgrade.
setTarget(Vec3) - Method in interface li.cil.oc.api.internal.Drone
Set the new target coordinates of the drone.
setUsableOverride(Keyboard.UsabilityChecker) - Method in interface li.cil.oc.api.internal.Keyboard
Sets a custom usability override.
setViewport(int, int) - Method in interface li.cil.oc.api.internal.TextBuffer
Set the buffer's active viewport resolution.
setVisibility(Visibility) - Method in interface li.cil.oc.api.network.Component
Set the visibility of this component.
shouldAnimate() - Method in interface li.cil.oc.api.internal.Robot
This essentially returns whether the robot is currently running or not.
Shutdown(boolean) - Constructor for class li.cil.oc.api.machine.ExecutionResult.Shutdown
 
side - Variable in class li.cil.oc.api.event.RackMountableRenderEvent.Block
The front-facing side, i.e.
SidedBlock - Interface in li.cil.oc.api.driver
Interface for side-aware block component drivers.
SidedComponent - Interface in li.cil.oc.api.network
This is an extended version of SimpleComponent which allows controlling connectivity on a side-by-side basis.
SidedEnvironment - Interface in li.cil.oc.api.network
This interface is like ISidedInventory is to IInventory, it allows an environment to specify different node access for its different sides.
sidedNode(ForgeDirection) - Method in interface li.cil.oc.api.network.SidedEnvironment
The node this environment uses for the specified side.
sidedNode(ForgeDirection) - Method in class li.cil.oc.api.prefab.TileEntitySidedEnvironment
 
sign - Variable in class li.cil.oc.api.event.SignChangeEvent
 
signal(String, Object...) - Method in interface li.cil.oc.api.machine.Context
Push a signal into the computer.
Signal - Interface in li.cil.oc.api.machine
A single signal that was queued on a machine.
SignChangeEvent - Class in li.cil.oc.api.event
A bit more specific sign change event that holds information about new text of the sign.
SignChangeEvent.Post - Class in li.cil.oc.api.event
 
SignChangeEvent.Pre - Class in li.cil.oc.api.event
 
SimpleComponent - Interface in li.cil.oc.api.network
This interface can be used to easily convert tile entities to components, without having to implement Environment themselves.
SimpleComponent.SkipInjection - Annotation Type in li.cil.oc.api.network
Use this to skip logic injection for the class this is implemented by.
Size - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceAttribute
 
size(String) - Method in interface li.cil.oc.api.fs.FileSystem
Gets the size of a file.
size() - Method in interface li.cil.oc.api.internal.Database
The number of slots in this database.
size() - Method in interface li.cil.oc.api.network.Packet
The size of the packet's payload.
Sleep(int) - Constructor for class li.cil.oc.api.machine.ExecutionResult.Sleep
 
Slot - Class in li.cil.oc.api.driver.item
Reference list of slot types in OpenComputers.
slot(ItemStack) - Method in interface li.cil.oc.api.driver.Item
The slot type of the specified item this driver supports.
slot() - Method in interface li.cil.oc.api.internal.Server
The slot of the server rack this server is in.
sound - Variable in class li.cil.oc.api.event.FileSystemAccessEvent
 
source() - Method in interface li.cil.oc.api.network.Message
The node that sent the message.
source() - Method in interface li.cil.oc.api.network.Packet
The address of the original sender of this packet.
spaceTotal() - Method in interface li.cil.oc.api.fs.FileSystem
The total storage capacity of the file system, in bytes.
spaceUsed() - Method in interface li.cil.oc.api.fs.FileSystem
The used storage capacity of the file system, in bytes.
stack - Variable in class li.cil.oc.api.event.RobotPlaceBlockEvent
The item that is used to place the block.
start() - Method in interface li.cil.oc.api.machine.Context
Starts the computer.
StateAware - Interface in li.cil.oc.api.util
Implemented on machines that have an "working" state.
StateAware.State - Enum in li.cil.oc.api.util
Possible work states.
stop() - Method in interface li.cil.oc.api.machine.Context
Stops the computer.
Storage - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
supportedComponents(ItemStack) - Method in interface li.cil.oc.api.driver.item.Processor
The additional number of components supported if this processor is installed in the server.
SynchronizedCall() - Constructor for class li.cil.oc.api.machine.ExecutionResult.SynchronizedCall
 
synchronizeSlot(int) - Method in interface li.cil.oc.api.internal.Robot
Sends the state of the item in the specified slot to the client if it is an upgrade.
System - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 

T

TabIconRenderer - Interface in li.cil.oc.api.manual
Allows defining a renderer for a manual tab.
Tablet - Static variable in class li.cil.oc.api.driver.item.Slot
 
Tablet - Interface in li.cil.oc.api.internal
This interface is implemented as a marker by tablets.
tank() - Method in interface li.cil.oc.api.internal.Agent
Provides access to the tanks of the agent.
tankCount() - Method in interface li.cil.oc.api.internal.MultiTank
The number of tanks currently installed.
Tape - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 
target - Variable in class li.cil.oc.api.event.RobotAttackEntityEvent
The entity that the robot will attack.
TextBuffer - Interface in li.cil.oc.api.component
Deprecated.
Use li.cil.oc.api.internal.TextBuffer instead.
TextBuffer - Interface in li.cil.oc.api.internal
This interface implements functionality for displaying and manipulating text, like screens and robots.
TextBuffer.ColorDepth - Enum in li.cil.oc.api.internal
Used when setting a buffer's maximum color depth.
TextureTabIconRenderer - Class in li.cil.oc.api.prefab
Simple implementation of a tab icon renderer using a full texture as its graphic.
TextureTabIconRenderer(ResourceLocation) - Constructor for class li.cil.oc.api.prefab.TextureTabIconRenderer
 
ticks - Variable in class li.cil.oc.api.machine.ExecutionResult.Sleep
The number of ticks to sleep.
tier(ItemStack) - Method in interface li.cil.oc.api.driver.Item
The tier of the specified item this driver supports.
tier() - Method in interface li.cil.oc.api.internal.Tiered
The zero-based tier of this...
tier(ItemStack) - Method in class li.cil.oc.api.prefab.DriverItem
 
Tiered - Interface in li.cil.oc.api.internal
This is implemented by most things that are tiered in some way.
tileEntity - Variable in class li.cil.oc.api.event.FileSystemAccessEvent
 
tileEntity - Variable in class li.cil.oc.api.event.NetworkActivityEvent
 
TileEntity(Rack, int, NBTTagCompound, float, float) - Constructor for class li.cil.oc.api.event.RackMountableRenderEvent.TileEntity
 
TileEntityEnvironment - Class in li.cil.oc.api.prefab
TileEntities can implement the Environment interface to allow them to interact with the component network, by providing a Node and connecting it to said network.
TileEntityEnvironment() - Constructor for class li.cil.oc.api.prefab.TileEntityEnvironment
 
TileEntitySidedEnvironment - Class in li.cil.oc.api.prefab
TileEntities can implement the SidedEnvironment interface to allow them to interact with the component network, by providing a separate Node for each block face, and connecting it to said network.
TileEntitySidedEnvironment(Node...) - Constructor for class li.cil.oc.api.prefab.TileEntitySidedEnvironment
This expects a node per face that is used to represent this tile entity.
tmpAddress() - Method in interface li.cil.oc.api.machine.Machine
The address of the file system that holds the machine's temporary files (tmpfs).
toArray() - Method in interface li.cil.oc.api.machine.Arguments
Converts the argument list to a standard Java array, converting byte arrays to strings automatically, since this is usually what others want - if you need the actual raw byte arrays, don't use this method!
toGlobal(ForgeDirection) - Method in interface li.cil.oc.api.internal.Rotatable
Converts a facing relative to the block's local coordinate system to a global orientation, using south as the standard orientation.
toLocal(ForgeDirection) - Method in interface li.cil.oc.api.internal.Rotatable
Converts a global orientation to a facing relative to the block's local coordinate system, using south as the standard orientation.
toolAfterUse - Variable in class li.cil.oc.api.event.RobotUsedToolEvent
The tool that was used, before and after use.
toolBeforeUse - Variable in class li.cil.oc.api.event.RobotUsedToolEvent
The tool that was used, before and after use.
TopBack - Static variable in class li.cil.oc.api.driver.item.UpgradeRenderer.MountPointName
 
TopLeft - Static variable in class li.cil.oc.api.driver.item.UpgradeRenderer.MountPointName
 
TopRight - Static variable in class li.cil.oc.api.driver.item.UpgradeRenderer.MountPointName
 
toString() - Method in class li.cil.oc.api.prefab.ItemStackArrayValue
 
tryChangeBuffer(double) - Method in interface li.cil.oc.api.network.Connector
Like Connector.changeBuffer(double), but will only store/consume the specified amount of energy if there is enough capacity/energy available.
ttl() - Method in interface li.cil.oc.api.network.Packet
The remaining 'time to live' for this packet.

U

unapply(Context, Arguments) - Method in interface li.cil.oc.api.machine.Value
This is called when the code running on a machine tries to assign a new value at the specified index of this value.
unapply(Context, Arguments) - Method in class li.cil.oc.api.prefab.AbstractValue
 
uninstallController(EntityPlayer) - Method in interface li.cil.oc.api.detail.NanomachinesAPI
Uninstall a controller from the specified player if it has one.
uninstallController(EntityPlayer) - Static method in class li.cil.oc.api.Nanomachines
Uninstall a controller from the specified player if it has one.
update() - Method in interface li.cil.oc.api.nanomachines.Behavior
Called each tick while this behavior is active.
update() - Method in interface li.cil.oc.api.network.ManagedEnvironment
This is called by the host of this managed environment once per tick.
update() - Method in class li.cil.oc.api.prefab.AbstractBehavior
 
update() - Method in class li.cil.oc.api.prefab.ManagedEnvironment
 
updateEntity() - Method in class li.cil.oc.api.prefab.TileEntityEnvironment
 
updateEntity() - Method in class li.cil.oc.api.prefab.TileEntitySidedEnvironment
 
updateWirelessNetwork(WirelessEndpoint) - Method in interface li.cil.oc.api.detail.NetworkAPI
Updates a wireless endpoint in the wireless network.
updateWirelessNetwork(WirelessEndpoint) - Static method in class li.cil.oc.api.Network
Updates a wireless endpoint in the wireless network.
Upgrade - Static variable in class li.cil.oc.api.driver.item.Slot
 
UpgradeRenderer - Interface in li.cil.oc.api.driver.item
This interface can be implemented by items to allow custom rendering of upgrades installed in robots.
UpgradeRenderer.MountPointName - Class in li.cil.oc.api.driver.item
upTime() - Method in interface li.cil.oc.api.machine.Machine
The time that has passed since the machine was started, in seconds.
users() - Method in interface li.cil.oc.api.machine.Machine
The list of users registered on this machine.
useWrenchOnBlock(EntityPlayer, World, int, int, int, boolean) - Method in interface li.cil.oc.api.internal.Wrench
Called when the wrench is used.

V

v0 - Variable in class li.cil.oc.api.event.RackMountableRenderEvent.TileEntity
The vertical low and high texture coordinates for the mountable's slot.
v1 - Variable in class li.cil.oc.api.event.RackMountableRenderEvent.TileEntity
The vertical low and high texture coordinates for the mountable's slot.
Value - Interface in li.cil.oc.api.machine
A value object can be pushed to a machine like a primitive value.
valueOf(String) - Static method in enum li.cil.oc.api.fs.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum li.cil.oc.api.internal.TextBuffer.ColorDepth
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum li.cil.oc.api.nanomachines.DisableReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum li.cil.oc.api.network.Visibility
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum li.cil.oc.api.util.Lifecycle.LifecycleState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum li.cil.oc.api.util.StateAware.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum li.cil.oc.api.fs.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum li.cil.oc.api.internal.TextBuffer.ColorDepth
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum li.cil.oc.api.nanomachines.DisableReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum li.cil.oc.api.network.Visibility
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum li.cil.oc.api.util.Lifecycle.LifecycleState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum li.cil.oc.api.util.StateAware.State
Returns an array containing the constants of this enum type, in the order they are declared.
Vendor - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceAttribute
 
VERSION - Static variable in class li.cil.oc.api.API
 
Version - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceAttribute
 
visibility() - Method in interface li.cil.oc.api.network.Component
Get the visibility of this component.
Visibility - Enum in li.cil.oc.api.network
Possible reachability values for nodes.
Volume - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceClass
 

W

whitelistedMethods() - Method in interface li.cil.oc.api.driver.MethodWhitelist
The list of methods allowed to be exposed for blocks this driver is used for.
Width - Static variable in class li.cil.oc.api.driver.DeviceInfo.DeviceAttribute
 
WirelessEndpoint - Interface in li.cil.oc.api.network
Interface for wireless endpoints that can be registered with the internal wireless network registry.
withComponent(String, Visibility) - Method in interface li.cil.oc.api.detail.Builder.ConnectorBuilder
Makes the node a component.
withComponent(String) - Method in interface li.cil.oc.api.detail.Builder.ConnectorBuilder
Makes the node a component.
withComponent(String, Visibility) - Method in interface li.cil.oc.api.detail.Builder.NodeBuilder
Makes the node a component.
withComponent(String) - Method in interface li.cil.oc.api.detail.Builder.NodeBuilder
Makes the node a component.
withConnector(double) - Method in interface li.cil.oc.api.detail.Builder.ComponentBuilder
Makes the node a connector.
withConnector() - Method in interface li.cil.oc.api.detail.Builder.ComponentBuilder
Makes the node a connector.
withConnector(double) - Method in interface li.cil.oc.api.detail.Builder.NodeBuilder
Makes the node a connector.
withConnector() - Method in interface li.cil.oc.api.detail.Builder.NodeBuilder
Makes the node a connector.
worksWith(World, int, int, int) - Method in interface li.cil.oc.api.driver.Block
Deprecated.
Used to determine the block types this driver handles.
worksWith(ItemStack, EntityPlayer) - Method in interface li.cil.oc.api.driver.InventoryProvider
Checks whether this provider works for the specified item stack.
worksWith(ItemStack, Class<? extends EnvironmentHost>) - Method in interface li.cil.oc.api.driver.item.HostAware
Used to determine the item types this driver handles.
worksWith(ItemStack) - Method in interface li.cil.oc.api.driver.Item
Used to determine the item types this driver handles.
worksWith(World, int, int, int, ForgeDirection) - Method in interface li.cil.oc.api.driver.SidedBlock
Used to determine the block types this driver handles.
worksWith(World, int, int, int) - Method in class li.cil.oc.api.prefab.DriverBlock
Deprecated.
 
worksWith(Block, int) - Method in class li.cil.oc.api.prefab.DriverBlock
Deprecated.
 
worksWith(ItemStack) - Method in class li.cil.oc.api.prefab.DriverItem
 
worksWith(World, int, int, int, ForgeDirection) - Method in class li.cil.oc.api.prefab.DriverSidedBlock
 
worksWith(Block, int) - Method in class li.cil.oc.api.prefab.DriverSidedBlock
 
worksWith(World, int, int, int, ForgeDirection) - Method in class li.cil.oc.api.prefab.DriverSidedTileEntity
 
worksWith(World, int, int, int) - Method in class li.cil.oc.api.prefab.DriverTileEntity
Deprecated.
 
world - Variable in class li.cil.oc.api.event.FileSystemAccessEvent
 
world - Variable in class li.cil.oc.api.event.NetworkActivityEvent
 
world - Variable in class li.cil.oc.api.event.RobotBreakBlockEvent.Pre
The world in which the block will be broken.
world - Variable in class li.cil.oc.api.event.RobotPlaceBlockEvent
The world in which the block will be placed.
world() - Method in interface li.cil.oc.api.network.EnvironmentHost
The world the container lives in.
world() - Method in interface li.cil.oc.api.network.WirelessEndpoint
The world this endpoint lives in.
worldTime() - Method in interface li.cil.oc.api.machine.Machine
The current world time.
Wrench - Interface in li.cil.oc.api.internal
Implemented on items that are wrench-like tools.
write(byte[]) - Method in interface li.cil.oc.api.fs.Handle
Tries to write all the data from the specified array into the file.
writeBehaviorToNBT(Behavior, NBTTagCompound) - Method in class li.cil.oc.api.prefab.AbstractProvider
Called when saving a behavior created using this behavior to NBT.
writeToNBT(Behavior) - Method in interface li.cil.oc.api.nanomachines.BehaviorProvider
Write a behavior to NBT.
writeToNBT(Behavior) - Method in class li.cil.oc.api.prefab.AbstractProvider
 
writeToNBT(NBTTagCompound) - Method in class li.cil.oc.api.prefab.TileEntityEnvironment
 
writeToNBT(NBTTagCompound) - Method in class li.cil.oc.api.prefab.TileEntitySidedEnvironment
 

X

x - Variable in class li.cil.oc.api.event.FileSystemAccessEvent
 
x - Variable in class li.cil.oc.api.event.GeolyzerEvent.Analyze
The position of the block to scan.
x - Variable in class li.cil.oc.api.event.NetworkActivityEvent
 
x - Variable in class li.cil.oc.api.event.RobotBreakBlockEvent.Pre
The coordinates at which the block will be broken.
x - Variable in class li.cil.oc.api.event.RobotPlaceBlockEvent
The coordinates at which the block will be placed.
x() - Method in interface li.cil.oc.api.network.WirelessEndpoint
The X coordinate of the endpoint in the world, in block coordinates.
xPosition() - Method in interface li.cil.oc.api.network.EnvironmentHost
The container's X position in the world.

Y

y - Variable in class li.cil.oc.api.event.FileSystemAccessEvent
 
y - Variable in class li.cil.oc.api.event.GeolyzerEvent.Analyze
The position of the block to scan.
y - Variable in class li.cil.oc.api.event.NetworkActivityEvent
 
y - Variable in class li.cil.oc.api.event.RobotBreakBlockEvent.Pre
The coordinates at which the block will be broken.
y - Variable in class li.cil.oc.api.event.RobotPlaceBlockEvent
The coordinates at which the block will be placed.
y() - Method in interface li.cil.oc.api.network.WirelessEndpoint
The Y coordinate of the endpoint in the world, in block coordinates.
yPosition() - Method in interface li.cil.oc.api.network.EnvironmentHost
The container's Y position in the world.

Z

z - Variable in class li.cil.oc.api.event.FileSystemAccessEvent
 
z - Variable in class li.cil.oc.api.event.GeolyzerEvent.Analyze
The position of the block to scan.
z - Variable in class li.cil.oc.api.event.NetworkActivityEvent
 
z - Variable in class li.cil.oc.api.event.RobotBreakBlockEvent.Pre
The coordinates at which the block will be broken.
z - Variable in class li.cil.oc.api.event.RobotPlaceBlockEvent
The coordinates at which the block will be placed.
z() - Method in interface li.cil.oc.api.network.WirelessEndpoint
The Z coordinate of the endpoint in the world, in block coordinates.
zPosition() - Method in interface li.cil.oc.api.network.EnvironmentHost
The container's Z position in the world.
A B C D E F G H I J K L M N O P R S T U V W X Y Z 
Skip navigation links