- 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
-
Registers a new driver for a block component.
- 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(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
-
Registers a new 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(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
-
- address() - Method in interface li.cil.oc.api.network.Node
-
The address of the node, so that it can be found in the network.
- addUser(String) - Method in interface li.cil.oc.api.machine.Machine
-
Add a player to the machine's list of users, by username.
- amount(ItemStack) - Method in interface li.cil.oc.api.driver.item.Memory
-
The amount of RAM this component provides, in bytes.
- Analyzable - Interface in li.cil.oc.api.network
-
Allows defining a callback for when a block is right-clicked with an
analyzer.
- 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
-
- API - Class in li.cil.oc.api
-
Central reference for the API.
- API() - Constructor for class li.cil.oc.api.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
-
- 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.
- 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) - 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) - Method in interface li.cil.oc.api.detail.FileSystemAPI
-
- asManagedEnvironment(FileSystem, Label) - Method in interface li.cil.oc.api.detail.FileSystemAPI
-
- asManagedEnvironment(FileSystem, String) - Method in interface li.cil.oc.api.detail.FileSystemAPI
-
- asManagedEnvironment(FileSystem) - Method in interface li.cil.oc.api.detail.FileSystemAPI
-
- 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
-
- asManagedEnvironment(FileSystem, Label) - Static method in class li.cil.oc.api.FileSystem
-
- asManagedEnvironment(FileSystem, String) - Static method in class li.cil.oc.api.FileSystem
-
- asManagedEnvironment(FileSystem) - Static method in class li.cil.oc.api.FileSystem
-
- 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
-
- 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() - Method in interface li.cil.oc.api.machine.MachineHost
-
This determines how many direct calls the machine can make per tick.
- 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.
- 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
-
- 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.network.Connector
-
Try to apply the specified delta to the global buffer.
- 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.
- clipboard(String, EntityPlayer) - Method in interface li.cil.oc.api.component.TextBuffer
-
Signals a clipboard paste event for the buffer.
- 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.
- 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.
- 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.
- 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.
- 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
-
- containerCount() - Method in interface li.cil.oc.api.internal.Robot
-
The number of hot-swappable component slots in this robot.
- Context - Interface in li.cil.oc.api.machine
-
This is used to provide some context to
Callbacks, 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.component.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.
- CPU - Static variable in class li.cil.oc.api.driver.item.Slot
-
- cpuArchitecture() - Method in interface li.cil.oc.api.machine.MachineHost
-
Get the architecture to use in the hosted machine.
- 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.
- createEnvironment(World, int, int, int) - Method in interface li.cil.oc.api.driver.Block
-
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.
- 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.
- 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() - 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.
- destination() - Method in interface li.cil.oc.api.network.Packet
-
The address of the destination of the packet.
- direction - Variable in class li.cil.oc.api.event.RobotMoveEvent
-
The direction in which the robot will be moving.
- 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.
- 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
-
If you wish to create a block component for a third-party block, i.e.
- DriverBlock(ItemStack...) - Constructor for class li.cil.oc.api.prefab.DriverBlock
-
- driverFor(World, int, int, int) - 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
-
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
-
- DriverTileEntity - Class in li.cil.oc.api.prefab
-
- DriverTileEntity() - Constructor for class li.cil.oc.api.prefab.DriverTileEntity
-
- Drone - Interface in li.cil.oc.api.internal
-
This interface is implemented as a marker by drones.
- 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.Client(String, TileEntity, NBTTagCompound) - Constructor for class li.cil.oc.api.event.FileSystemAccessEvent.Client
-
Constructor for tile entity hosted file systems.
- FileSystemAccessEvent.Client(String, World, double, double, double, NBTTagCompound) - Constructor for class li.cil.oc.api.event.FileSystemAccessEvent.Client
-
Constructor for arbitrarily hosted file systems.
- FileSystemAccessEvent.Server - Class in li.cil.oc.api.event
-
- FileSystemAccessEvent.Server(String, TileEntity, Node) - Constructor for class li.cil.oc.api.event.FileSystemAccessEvent.Server
-
- FileSystemAccessEvent.Server(String, World, double, double, double, Node) - Constructor for class li.cil.oc.api.event.FileSystemAccessEvent.Server
-
- FileSystemAPI - Interface in li.cil.oc.api.detail
-
- fill(int, int, int, int, char) - Method in interface li.cil.oc.api.component.TextBuffer
-
Fill a portion of the text buffer.
- 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
-
- 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.Analyze(EnvironmentHost, Map<?, ?>, ForgeDirection) - Constructor for class li.cil.oc.api.event.GeolyzerEvent.Analyze
-
- GeolyzerEvent.Scan - Class in li.cil.oc.api.event
-
Long-distance scan, getting quantified information about blocks around
the geolyzer.
- GeolyzerEvent.Scan(EnvironmentHost, Map<?, ?>, int, int) - Constructor for class li.cil.oc.api.event.GeolyzerEvent.Scan
-
- get(int, int) - Method in interface li.cil.oc.api.component.TextBuffer
-
Get the character in the text buffer at the specified location.
- 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(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.
- getAspectRatio() - Method in interface li.cil.oc.api.component.TextBuffer
-
Get the aspect ratio of the buffer.
- getBackgroundColor() - Method in interface li.cil.oc.api.component.TextBuffer
-
The active background color.
- getBackgroundColor(int, int) - Method in interface li.cil.oc.api.component.TextBuffer
-
Get the background color of the text buffer at the specified location.
- getBootAddress() - Method in interface li.cil.oc.api.machine.Machine
-
Get the address of the file system component from which to try to boot.
- getBreakTime() - Method in class li.cil.oc.api.event.RobotBreakBlockEvent.Pre
-
Gets the time that it will take to break the block.
- getColor() - Method in interface li.cil.oc.api.internal.Colored
-
Get the current color value.
- getColorDepth() - Method in interface li.cil.oc.api.component.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.
- getCostPerTick() - Method in interface li.cil.oc.api.machine.Machine
-
Gets the amount of energy this machine consumes per tick when it is
running.
- 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 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.
- getEnergyCostPerTick() - Method in interface li.cil.oc.api.component.TextBuffer
-
Get the energy cost per tick.
- getFluidTank(int) - Method in interface li.cil.oc.api.internal.Robot
-
Get the installed fluid tank with the specified index.
- getForegroundColor() - Method in interface li.cil.oc.api.component.TextBuffer
-
The active foreground color.
- getForegroundColor(int, int) - Method in interface li.cil.oc.api.component.TextBuffer
-
Get the foreground color of the text buffer at the specified location.
- getHandle(int) - Method in interface li.cil.oc.api.fs.FileSystem
-
- getHeight() - Method in interface li.cil.oc.api.component.TextBuffer
-
Get the current vertical resolution.
- getLabel() - Method in interface li.cil.oc.api.fs.Label
-
Get the current value of this label.
- getMaximumColorDepth() - Method in interface li.cil.oc.api.component.TextBuffer
-
Get the maximum color depth supported.
- getMaximumHeight() - Method in interface li.cil.oc.api.component.TextBuffer
-
Get the maximum vertical size of the buffer.
- getMaximumWidth() - Method in interface li.cil.oc.api.component.TextBuffer
-
Get the maximum horizontal size of the buffer.
- getNode() - Method in class li.cil.oc.api.event.FileSystemAccessEvent.Server
-
The node of the file system that signalled activity.
- getPaletteColor(int) - Method in interface li.cil.oc.api.component.TextBuffer
-
Get the color in the active color palette at the specified index.
- getPowerState() - Method in interface li.cil.oc.api.component.TextBuffer
-
Get the current power state.
- 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.
- getStackInSlot(int) - Method in interface li.cil.oc.api.internal.Robot
-
Get the item stack in the specified inventory slot.
- 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.
- getTileEntityClass() - Method in class li.cil.oc.api.prefab.DriverTileEntity
-
- getVelocity() - Method in interface li.cil.oc.api.internal.Drone
-
Get the drones velocity vector.
- getWidth() - Method in interface li.cil.oc.api.component.TextBuffer
-
Get the current horizontal resolution.
- getWorld() - Method in class li.cil.oc.api.event.FileSystemAccessEvent
-
The world the file system lives in.
- getX() - Method in class li.cil.oc.api.event.FileSystemAccessEvent
-
The x coordinate of the file system's container.
- getY() - Method in class li.cil.oc.api.event.FileSystemAccessEvent
-
The y coordinate of the file system's container.
- getZ() - Method in class li.cil.oc.api.event.FileSystemAccessEvent
-
The z coordinate of the file system'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.
- ID_OWNER - Static variable in class li.cil.oc.api.API
-
- initialize() - Method in interface li.cil.oc.api.machine.Architecture
-
Called when a machine starts up.
- installedMemory() - Method in interface li.cil.oc.api.machine.MachineHost
-
The amount of memory (RAM) made available to the machine, in bytes.
- instance - Static variable in class li.cil.oc.api.CreativeTab
-
The creative tab used by OpenComputers.
- 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.
- inventory() - Method in interface li.cil.oc.api.internal.Drone
-
Provides access to the inventory of the drone.
- inventoryCapacity(ItemStack) - Method in interface li.cil.oc.api.driver.item.Inventory
-
The additional amount of inventory space the specified item provides.
- inventorySize() - Method in interface li.cil.oc.api.internal.Robot
-
The size of the internal inventory in this robot, excluding tool and
component slots.
- 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
-
- 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.component.TextBuffer
-
- isBackgroundFromPalette(int, int) - Method in interface li.cil.oc.api.component.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.
- 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.component.TextBuffer
-
- isForegroundFromPalette(int, int) - Method in interface li.cil.oc.api.component.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
-
- 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.component.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.component.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
-
- 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) - Static method in class li.cil.oc.api.Network
-
Removes a wireless endpoint from the wireless network.
- 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 provides interfaces to allow interacting with some 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.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.
- LimitReachedException - Exception in li.cil.oc.api.machine
-
- LimitReachedException() - Constructor for exception li.cil.oc.api.machine.LimitReachedException
-
- 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
-
- 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.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.
- machine - Static variable in class li.cil.oc.api.API
-
- machine() - Method in interface li.cil.oc.api.internal.Case
-
The machine currently hosted by this computer case.
- machine() - Method in interface li.cil.oc.api.internal.Drone
-
The machine currently hosted by this drone.
- machine() - Method in interface li.cil.oc.api.internal.Microcontroller
-
The machine currently hosted by this microcontroller.
- machine() - Method in interface li.cil.oc.api.internal.Robot
-
The machine currently hosted by this robot.
- machine() - Method in interface li.cil.oc.api.internal.Server
-
The machine currently hosted by this server.
- machine() - Method in interface li.cil.oc.api.internal.Tablet
-
The machine currently hosted by this tablet.
- 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
-
- 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.
- 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.
- markChanged() - Method in interface li.cil.oc.api.driver.EnvironmentHost
-
Marks the container as "changed" so that it knows it has to be saved
again in the next world save.
- markForSaving() - Method in interface li.cil.oc.api.machine.MachineHost
-
This is called by the machine when its state changed (which can be
multiple times per actual game tick), to notify the owner that it should
save its state on the next world save.
- maxComponents() - Method in interface li.cil.oc.api.machine.MachineHost
-
The number of components the machine can address without crashing.
- 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.
- Mode - Enum in li.cil.oc.api.fs
-
Possible file modes.
- 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.component.TextBuffer
-
Signals a mouse button down event for the buffer.
- mouseDown(int, int, int, EntityPlayer) - Method in interface li.cil.oc.api.component.TextBuffer
-
Deprecated.
Use the floating-point variant instead.
- mouseDrag(double, double, int, EntityPlayer) - Method in interface li.cil.oc.api.component.TextBuffer
-
Signals a mouse drag event for the buffer.
- mouseDrag(int, int, int, EntityPlayer) - Method in interface li.cil.oc.api.component.TextBuffer
-
Deprecated.
Use the floating-point variant instead.
- mouseScroll(double, double, int, EntityPlayer) - Method in interface li.cil.oc.api.component.TextBuffer
-
Signals a mouse wheel scroll event for the buffer.
- mouseScroll(int, int, int, EntityPlayer) - Method in interface li.cil.oc.api.component.TextBuffer
-
Deprecated.
Use the floating-point variant instead.
- mouseUp(double, double, int, EntityPlayer) - Method in interface li.cil.oc.api.component.TextBuffer
-
Signals a mouse button release event for the buffer.
- mouseUp(int, int, int, EntityPlayer) - Method in interface li.cil.oc.api.component.TextBuffer
-
Deprecated.
Use the floating-point variant instead.
- name() - Method in interface li.cil.oc.api.detail.ItemInfo
-
The name of this item descriptor.
- 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).
- 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 - 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.
- 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
-
- 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 visible to 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
-
- offset - Variable in class li.cil.oc.api.event.RobotRenderEvent.MountPoint
-
The position of the mount point, relative to the robot's center.
- 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
-
- 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
-
- 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.
- onMachineConnect(Node) - Method in interface li.cil.oc.api.machine.MachineHost
-
- onMachineDisconnect(Node) - Method in interface li.cil.oc.api.machine.MachineHost
-
- 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
-
- open(String, Mode) - Method in interface li.cil.oc.api.fs.FileSystem
-
Opens a file for reading or writing.
- 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.
- 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.
- 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.Robot
-
Returns the fake player used to represent the robot 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.
- 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.
- preferredName() - Method in interface li.cil.oc.api.driver.NamedBlock
-
The preferred name, in case the driver is merged with others.
- 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 - Interface in li.cil.oc.api.driver.item
-
Use this interface to implement item drivers extending the number of
components a server can control.
- providedEnvironment(ItemStack) - Method in interface li.cil.oc.api.driver.EnvironmentAware
-
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.
- rack() - Method in interface li.cil.oc.api.internal.Server
-
The server rack this server is in.
- range() - Method in interface li.cil.oc.api.internal.ServerRack
-
The currently set wireless range in which remote terminals work.
- rawSetBackground(int, int, int[][]) - Method in interface li.cil.oc.api.component.TextBuffer
-
Overwrites a portion of the background color information in raw mode.
- rawSetForeground(int, int, int[][]) - Method in interface li.cil.oc.api.component.TextBuffer
-
Overwrites a portion of the foreground color information in raw mode.
- rawSetText(int, int, char[][]) - Method in interface li.cil.oc.api.component.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
-
- 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.
- 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, WirelessEndpoint) - Method in interface li.cil.oc.api.network.WirelessEndpoint
-
Makes the endpoint receive a single packet.
- recomputeMemory() - Method in interface li.cil.oc.api.machine.Architecture
-
This is called when the amount of memory in the machine may have changed.
- 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.
- renderHeight() - Method in interface li.cil.oc.api.component.TextBuffer
-
The natural height of the rendered text.
- renderText() - Method in interface li.cil.oc.api.component.TextBuffer
-
Renders the text displayed on the buffer.
- renderWidth() - Method in interface li.cil.oc.api.component.TextBuffer
-
The natural width of the rendered text.
- robot - Variable in class li.cil.oc.api.event.RobotEvent
-
The robot for which this event was fired.
- 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(Robot, EntityPlayer) - Constructor for class li.cil.oc.api.event.RobotAnalyzeEvent
-
- RobotAttackEntityEvent - Class in li.cil.oc.api.event
-
- RobotAttackEntityEvent(Robot, 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.Post(Robot, Entity) - Constructor for class li.cil.oc.api.event.RobotAttackEntityEvent.Post
-
- RobotAttackEntityEvent.Pre - Class in li.cil.oc.api.event
-
Fired when a robot is about to attack an entity.
- RobotAttackEntityEvent.Pre(Robot, Entity) - Constructor for class li.cil.oc.api.event.RobotAttackEntityEvent.Pre
-
- RobotBreakBlockEvent - Class in li.cil.oc.api.event
-
- RobotBreakBlockEvent(Robot) - 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.Post(Robot, double) - Constructor for class li.cil.oc.api.event.RobotBreakBlockEvent.Post
-
- RobotBreakBlockEvent.Pre - Class in li.cil.oc.api.event
-
Fired when a robot is about to break a block.
- RobotBreakBlockEvent.Pre(Robot, World, int, int, int, double) - Constructor for class li.cil.oc.api.event.RobotBreakBlockEvent.Pre
-
- RobotEvent - Class in li.cil.oc.api.event
-
Base class for events generated by robots.
- RobotEvent(Robot) - 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(Robot, double) - Constructor for class li.cil.oc.api.event.RobotExhaustionEvent
-
- RobotMoveEvent - Class in li.cil.oc.api.event
-
- RobotMoveEvent(Robot, 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.Post(Robot, ForgeDirection) - Constructor for class li.cil.oc.api.event.RobotMoveEvent.Post
-
- RobotMoveEvent.Pre - Class in li.cil.oc.api.event
-
Fired when a robot is about to move.
- RobotMoveEvent.Pre(Robot, ForgeDirection) - Constructor for class li.cil.oc.api.event.RobotMoveEvent.Pre
-
- RobotPlaceBlockEvent - Class in li.cil.oc.api.event
-
- RobotPlaceBlockEvent(Robot, 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.Post(Robot, ItemStack, World, int, int, int) - Constructor for class li.cil.oc.api.event.RobotPlaceBlockEvent.Post
-
- RobotPlaceBlockEvent.Pre - Class in li.cil.oc.api.event
-
Fired when a robot is about to place a block.
- RobotPlaceBlockEvent.Pre(Robot, ItemStack, World, int, int, int) - Constructor for class li.cil.oc.api.event.RobotPlaceBlockEvent.Pre
-
- 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(Robot) - 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(Robot, 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.
- RobotRenderEvent.MountPoint() - Constructor for class li.cil.oc.api.event.RobotRenderEvent.MountPoint
-
- RobotUsedToolEvent - Class in li.cil.oc.api.event
-
- RobotUsedToolEvent(Robot, 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.ApplyDamageRate(Robot, ItemStack, ItemStack, double) - Constructor for class li.cil.oc.api.event.RobotUsedToolEvent.ApplyDamageRate
-
- 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.
- RobotUsedToolEvent.ComputeDamageRate(Robot, ItemStack, ItemStack, double) - Constructor for class li.cil.oc.api.event.RobotUsedToolEvent.ComputeDamageRate
-
- 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
-
- runThreaded(boolean) - Method in interface li.cil.oc.api.machine.Architecture
-
Continues execution of the machine.
- 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.ManagedEnvironment
-
- scanX - Variable in class li.cil.oc.api.event.GeolyzerEvent.Scan
-
The relative x coordinate of the column being scanned.
- scanZ - Variable in class li.cil.oc.api.event.GeolyzerEvent.Scan
-
The relative z coordinate of the column being scanned.
- 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.Robot
-
Gets the index of the currently selected slot in the robot's inventory.
- selectedTank() - Method in interface li.cil.oc.api.internal.Robot
-
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.
- Server - Interface in li.cil.oc.api.internal
-
This interface is implemented as a marker by servers in server racks.
- server(int) - Method in interface li.cil.oc.api.internal.ServerRack
-
The machine currently hosted by the server in the specified slot.
- ServerRack - Interface in li.cil.oc.api.internal
-
This interface is implemented as a marker by server racks.
- set(int, int, String, boolean) - Method in interface li.cil.oc.api.component.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.
- setAspectRatio(double, double) - Method in interface li.cil.oc.api.component.TextBuffer
-
Set the 'aspect ratio' of the buffer.
- setBackgroundColor(int) - Method in interface li.cil.oc.api.component.TextBuffer
-
Set the active background color, not using a palette.
- setBackgroundColor(int, boolean) - Method in interface li.cil.oc.api.component.TextBuffer
-
Set the active background color.
- setBootAddress(String) - Method in interface li.cil.oc.api.machine.Machine
-
Set the address of the file system component from which to try to boot.
- 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.component.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.component.TextBuffer
-
Controls how much energy the buffer will consume per tick.
- setForegroundColor(int) - Method in interface li.cil.oc.api.component.TextBuffer
-
Set the active foreground color, not using a palette.
- setForegroundColor(int, boolean) - Method in interface li.cil.oc.api.component.TextBuffer
-
Set the active foreground color.
- 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.component.TextBuffer
-
Sets the maximum color depth supported by this buffer.
- setMaximumResolution(int, int) - Method in interface li.cil.oc.api.component.TextBuffer
-
Sets the maximum resolution supported by this buffer.
- setNode(Node) - Method in class li.cil.oc.api.prefab.ManagedEnvironment
-
- setPaletteColor(int, int) - Method in interface li.cil.oc.api.component.TextBuffer
-
Set the color of the active color palette at the specified index.
- setPowerState(boolean) - Method in interface li.cil.oc.api.component.TextBuffer
-
Set whether the buffer is powered on.
- setRenderingEnabled(boolean) - Method in interface li.cil.oc.api.component.TextBuffer
-
Set whether the contents of the buffer should currently be rendered.
- setResolution(int, int) - Method in interface li.cil.oc.api.component.TextBuffer
-
Set the buffer's active resolution.
- 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.component.Keyboard
-
Sets a custom usability override.
- setVisibility(Visibility) - Method in interface li.cil.oc.api.network.Component
-
Set the visibility of this component.
- side - Variable in class li.cil.oc.api.event.GeolyzerEvent.Analyze
-
The side of the geolyzer on which the block to scan is located.
- 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
-
- 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.
- 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.
- 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.
- 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.
- stop() - Method in interface li.cil.oc.api.machine.Context
-
Stops the computer.
- 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.
- 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.
- 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.
- tankCount() - Method in interface li.cil.oc.api.internal.Robot
-
The number of tanks currently installed in the robot.
- 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
-
This interface implements functionality for displaying and manipulating
text, like screens and robots.
- TextBuffer.ColorDepth - Enum in li.cil.oc.api.component
-
Used when setting a buffer's maximum color depth.
- 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.Server
-
The tier of the server.
- 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
-
- 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.
- tryChangeBuffer(double) - Method in interface li.cil.oc.api.network.Connector
-
- ttl() - Method in interface li.cil.oc.api.network.Packet
-
The remaining 'time to live' for this packet.
- 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.
- 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
-
Used to determine the block types this driver handles.
- 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) - Method in class li.cil.oc.api.prefab.DriverBlock
-
- worksWith(Block, int) - Method in class li.cil.oc.api.prefab.DriverBlock
-
- worksWith(ItemStack) - Method in class li.cil.oc.api.prefab.DriverItem
-
- worksWith(World, int, int, int) - Method in class li.cil.oc.api.prefab.DriverTileEntity
-
- world() - Method in interface li.cil.oc.api.driver.EnvironmentHost
-
The world the container lives in.
- world - Variable in class li.cil.oc.api.event.FileSystemAccessEvent
-
- 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.WirelessEndpoint
-
The world this endpoint lives in.
- worldTime() - Method in interface li.cil.oc.api.machine.Machine
-
The current world time.
- write(byte[]) - Method in interface li.cil.oc.api.fs.Handle
-
Tries to write all the data from the specified array into the file.
- writeToNBT(NBTTagCompound) - Method in class li.cil.oc.api.prefab.TileEntityEnvironment
-
- writeToNBT(NBTTagCompound) - Method in class li.cil.oc.api.prefab.TileEntitySidedEnvironment
-