- AbstractBusCard - Static variable in class li.cil.oc.api.Items
-
- AccessPoint - Static variable in class li.cil.oc.api.Blocks
-
- Acid - Static variable in class li.cil.oc.api.Items
-
- Adapter - Static variable in class li.cil.oc.api.Blocks
-
- 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.Context
-
Deprecated.
Use node().address() instead.
- address() - Method in interface li.cil.oc.api.network.Node
-
The address of the node, so that it can be found in the network.
- addRomResource(Class<? extends Architecture>, Callable<FileSystem>, String) - Method in interface li.cil.oc.api.detail.MachineAPI
-
Adds a file system to use for the composite file system that is made
available as the ROM to each machine of the specified architecture.
- addRomResource(Class<? extends Architecture>, Callable<FileSystem>, String) - Static method in class li.cil.oc.api.Machine
-
Adds a file system to use for the composite file system that is made
available as the ROM to each machine of the specified architecture.
- addUser(String) - Method in interface li.cil.oc.api.machine.Machine
-
Add a player to the machine's list of users, by username.
- ALU - Static variable in class li.cil.oc.api.Items
-
- amount(ItemStack) - Method in interface li.cil.oc.api.driver.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.
- Analyzer - Static variable in class li.cil.oc.api.Items
-
- 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.
- 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.network
-
This interface provides access to arguments passed to a
Callback.
- asManagedEnvironment(FileSystem, Label, TileEntity) - 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, TileEntity) - 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, TileEntity) - 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, TileEntity) - 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
-
- Cable - Static variable in class li.cil.oc.api.Blocks
-
- Callback - Annotation Type in li.cil.oc.api.network
-
This annotation can be used for methods in an
Environment to mark
them for exposure to computers.
- 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.
- canInteract(String) - Method in interface li.cil.oc.api.network.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
-
- Capacitor - Static variable in class li.cil.oc.api.Blocks
-
- CardBase - Static variable in class li.cil.oc.api.Items
-
- CaseTier1 - Static variable in class li.cil.oc.api.Blocks
-
- CaseTier2 - Static variable in class li.cil.oc.api.Blocks
-
- CaseTier3 - Static variable in class li.cil.oc.api.Blocks
-
- changeBuffer(double) - Method in interface li.cil.oc.api.network.Connector
-
Try to apply the specified delta to the global buffer.
- Charger - Static variable in class li.cil.oc.api.Blocks
-
- checkAny(int) - Method in interface li.cil.oc.api.network.Arguments
-
Get whatever is at the specified index.
- checkBoolean(int) - Method in interface li.cil.oc.api.network.Arguments
-
Try to get a boolean value at the specified index.
- checkByteArray(int) - Method in interface li.cil.oc.api.network.Arguments
-
Try to get a byte array at the specified index.
- checkDouble(int) - Method in interface li.cil.oc.api.network.Arguments
-
Try to get a double value at the specified index.
- checkInteger(int) - Method in interface li.cil.oc.api.network.Arguments
-
Try to get an integer value at the specified index.
- checkString(int) - Method in interface li.cil.oc.api.network.Arguments
-
Try to get a string value at the specified index.
- checkTable(int) - Method in interface li.cil.oc.api.network.Arguments
-
Try to get a table at the specified index.
- CircuitBoard - Static variable in class li.cil.oc.api.Items
-
- 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.
- Component - Interface in li.cil.oc.api.network
-
Components are nodes that can be addressed computers via drivers.
- ComponentConnector - Interface in li.cil.oc.api.network
-
For nodes that are both component and connector.
- 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.
- 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.
- Context - Interface in li.cil.oc.api.network
-
This is used to provide some context to
Callbacks, i.e.
- ControlUnit - Static variable in class li.cil.oc.api.Items
-
- convert(Object, Map<Object, Object>) - Method in interface li.cil.oc.api.driver.Converter
-
Converts a type to a Map that only contains valid values, i.e.
- 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.
- count() - Method in interface li.cil.oc.api.network.Arguments
-
The total number of arguments that were passed to the function.
- CPUTier1 - Static variable in class li.cil.oc.api.Items
-
- CPUTier2 - Static variable in class li.cil.oc.api.Items
-
- CPUTier3 - Static variable in class li.cil.oc.api.Items
-
- 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(Owner, Class<? extends Architecture>) - Method in interface li.cil.oc.api.detail.MachineAPI
-
Creates a new machine using the specified architecture.
- create(Owner, Class<? extends Architecture>) - Static method in class li.cil.oc.api.Machine
-
Creates a new machine using the specified architecture.
- create(Owner) - Static method in class li.cil.oc.api.Machine
-
Creates a new machine using the default architecture (Lua).
- 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, TileEntity) - Method in interface li.cil.oc.api.driver.Item
-
Create a new managed environment interfacing the specified item.
- CreativeTab - Class in li.cil.oc.api
-
Allows access to the creative tab used by OpenComputers.
- CuttingWire - Static variable in class li.cil.oc.api.Items
-
- facing() - Method in interface li.cil.oc.api.Rotatable
-
The current facing of a tile entity implementing this interface.
- 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.
- FileSystemAPI - Interface in li.cil.oc.api.detail
-
- FloppyDisk - Static variable in class li.cil.oc.api.Items
-
- 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(dan200.computer.api.IMount) - Method in interface li.cil.oc.api.detail.FileSystemAPI
-
Creates a new file system based on a read-only ComputerCraft mount.
- fromComputerCraft(dan200.computer.api.IWritableMount) - Method in interface li.cil.oc.api.detail.FileSystemAPI
-
Creates a new file system based on a read-write ComputerCraft mount.
- fromComputerCraft(dan200.computercraft.api.filesystem.IMount) - Method in interface li.cil.oc.api.detail.FileSystemAPI
-
Creates a new file system based on a read-only ComputerCraft mount.
- fromComputerCraft(dan200.computercraft.api.filesystem.IWritableMount) - Method in interface li.cil.oc.api.detail.FileSystemAPI
-
Creates a new file system based on a read-write ComputerCraft mount.
- fromComputerCraft(dan200.computer.api.IMount) - Static method in class li.cil.oc.api.FileSystem
-
Creates a new file system based on a read-only ComputerCraft mount.
- fromComputerCraft(dan200.computer.api.IWritableMount) - Static method in class li.cil.oc.api.FileSystem
-
Creates a new file system based on a read-write ComputerCraft mount.
- fromComputerCraft(dan200.computercraft.api.filesystem.IMount) - Static method in class li.cil.oc.api.FileSystem
-
Creates a new file system based on a read-only ComputerCraft mount.
- fromComputerCraft(dan200.computercraft.api.filesystem.IWritableMount) - Static method in class li.cil.oc.api.FileSystem
-
Creates a new file system based on a read-write 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
-
- 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.Owner
-
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.
- instance - Static variable in class li.cil.oc.api.Driver
-
- instance - Static variable in class li.cil.oc.api.FileSystem
-
- instance - Static variable in class li.cil.oc.api.Machine
-
- instance - Static variable in class li.cil.oc.api.Network
-
- InternetCard - Static variable in class li.cil.oc.api.Items
-
- invalidate() - Method in class li.cil.oc.api.prefab.TileEntityEnvironment
-
- invalidate() - Method in class li.cil.oc.api.prefab.TileEntitySidedEnvironment
-
- invoke(String, String, Object[]) - Method in interface li.cil.oc.api.machine.Machine
-
Makes the machine call a component 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
-
- IronNugget - Static variable in class li.cil.oc.api.Items
-
- isBoolean(int) - Method in interface li.cil.oc.api.network.Arguments
-
Tests whether the argument at the specified index is a boolean value.
- isByteArray(int) - Method in interface li.cil.oc.api.network.Arguments
-
Tests whether the argument at the specified index is a byte array.
- 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.network.Arguments
-
Tests whether the argument at the specified index is a double value.
- 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.network.Arguments
-
Tests whether the argument at the specified index is an integer value.
- 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.network.Context
-
Whether the computer is currently in a paused state.
- isReadOnly() - Method in interface li.cil.oc.api.fs.FileSystem
-
Whether this file system is read-only.
- isRunning() - Method in interface li.cil.oc.api.network.Context
-
Whether the computer is currently in a running state, i.e.
- isString(int) - Method in interface li.cil.oc.api.network.Arguments
-
Tests whether the argument at the specified index is a string value.
- isTable(int) - Method in interface li.cil.oc.api.network.Arguments
-
Tests whether the argument at the specified index is a table.
- Item - Interface in li.cil.oc.api.driver
-
Interface for item component drivers.
- Items - Class in li.cil.oc.api
-
Item stacks for all items OpenComputers defines.
- 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.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.fs - package li.cil.oc.api.fs
-
This package contains interfaces used by the file system implementation.
- 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
-
- li.cil.oc.api.prefab - package li.cil.oc.api.prefab
-
- 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.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 - 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
-
- 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.
- markAsChanged() - Method in interface li.cil.oc.api.machine.Owner
-
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.Owner
-
The number of components the machine can address without crashing.
- Memory - Interface in li.cil.oc.api.driver
-
Use this interface to implement item drivers extending the memory of a computer.
- MemoryTier1 - Static variable in class li.cil.oc.api.Items
-
- MemoryTier2 - Static variable in class li.cil.oc.api.Items
-
- MemoryTier3 - Static variable in class li.cil.oc.api.Items
-
- MemoryTier4 - Static variable in class li.cil.oc.api.Items
-
- MemoryTier5 - Static variable in class li.cil.oc.api.Items
-
- 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() - 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.
- MicrochipTier1 - Static variable in class li.cil.oc.api.Items
-
- MicroChipTier2 - Static variable in class li.cil.oc.api.Items
-
- MicroChipTier3 - Static variable in class li.cil.oc.api.Items
-
- Mode - Enum in li.cil.oc.api.fs
-
Possible file modes.
- name() - Method in interface li.cil.oc.api.machine.Architecture
-
A display friendly name of the architecture, mainly intended to be used
when iterating all
Machine.architectures().
- 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 - 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
-
- NetworkCard - Static variable in class li.cil.oc.api.Items
-
- 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.network.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 - Variable in class li.cil.oc.api.prefab.ManagedEnvironment
-
- 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
-
- 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.ManagedEnvironment
-
- saveUpgrade() - Method in interface li.cil.oc.api.machine.Robot
-
Deprecated.
- saveUpgrade() - Method in interface li.cil.oc.api.network.RobotContext
-
Deprecated.
Causes the currently installed upgrade to be saved and synchronized.
- ScreenTier1 - Static variable in class li.cil.oc.api.Blocks
-
- ScreenTier2 - Static variable in class li.cil.oc.api.Blocks
-
- ScreenTier3 - Static variable in class li.cil.oc.api.Blocks
-
- 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.machine.Robot
-
Gets the index of the currently selected slot in the robot's inventory.
- selectedSlot() - Method in interface li.cil.oc.api.network.RobotContext
-
Deprecated.
Gets the index of the currently selected slot in the robot's inventory.
- 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.
- ServerRack - Static variable in class li.cil.oc.api.Blocks
-
- ServerTier1 - Static variable in class li.cil.oc.api.Items
-
- ServerTier2 - Static variable in class li.cil.oc.api.Items
-
- ServerTier3 - Static variable in class li.cil.oc.api.Items
-
- 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.
- 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.
- setVisibility(Visibility) - Method in interface li.cil.oc.api.network.Component
-
Set the visibility of this component.
- 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 - Interface in li.cil.oc.api.machine
-
A single signal that was queued on a machine.
- signal(String, Object...) - Method in interface li.cil.oc.api.network.Context
-
Push a signal into the computer.
- 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.
- slot(ItemStack) - Method in interface li.cil.oc.api.driver.Item
-
The slot type of the specified item this driver supports.
- Slot - Enum in li.cil.oc.api.driver
-
List of possible item component types.
- 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.
- start() - Method in interface li.cil.oc.api.network.Context
-
Starts the computer.
- stop() - Method in interface li.cil.oc.api.network.Context
-
Stops the computer.
- supportedComponents(ItemStack) - Method in interface li.cil.oc.api.driver.Processor
-
The additional number of components supported if this processor is
installed in the server.
- Switch - Static variable in class li.cil.oc.api.Blocks
-
- 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.
- WirelessNetworkCard - Static variable in class li.cil.oc.api.Items
-
- 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) - Method in interface li.cil.oc.api.driver.Item
-
Used to determine the item types this driver handles.
- 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.machine.Owner
-
The world the machine is running in, e.g.
- 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
-