- getAPIVersion() - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
- getAttachmentName() - Method in interface dan200.computercraft.api.peripheral.IComputerAccess
-
Get a string, unique to the computer, by which the computer refers to this peripheral.
- getAudio(ItemStack) - Method in interface dan200.computercraft.api.media.IMedia
-
If this disk represents an item with audio (like a record), get the resource name of the audio track to play.
- getAudioTitle(ItemStack) - Method in interface dan200.computercraft.api.media.IMedia
-
If this disk represents an item with audio (like a record), get the readable name of the audio track.
- getBundledRedstoneOutput(World, BlockPos, EnumFacing) - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
If there is a Computer or Turtle at a certain position in the world, get it's bundled redstone output.
- getBundledRedstoneOutput(World, BlockPos, EnumFacing) - Method in interface dan200.computercraft.api.redstone.IBundledRedstoneProvider
-
Produce an bundled redstone output from a block location.
- getChannel() - Method in class dan200.computercraft.api.network.Packet
-
Get the channel this packet is sent along.
- getColour() - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Get the colour of this pocket computer as a RGB number.
- getColour() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Get the colour of this turtle as a RGB number.
- getCraftingItem() - Method in interface dan200.computercraft.api.pocket.IPocketUpgrade
-
Return an item stack representing the type of item that a pocket computer must be crafted with to create a
pocket computer which holds this upgrade.
- getCraftingItem() - Method in interface dan200.computercraft.api.turtle.ITurtleUpgrade
-
Return an item stack representing the type of item that a turtle must be crafted
with to create a turtle which holds this upgrade.
- getDirection() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Returns the world direction the turtle is currently facing.
- getEntity() - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Gets the entity holding this item.
- getErrorMessage() - Method in class dan200.computercraft.api.turtle.TurtleCommandResult
-
Get the error message of this command result.
- getFuelLevel() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Get the current fuel level of this turtle.
- getFuelLimit() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Get the maximum amount of fuel a turtle can hold.
- getID() - Method in interface dan200.computercraft.api.peripheral.IComputerAccess
-
Returns the numerical ID of this computer.
- getInstalledVersion() - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
- getInventory() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Get the inventory of this turtle
- getItemHandler() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Get the inventory of this turtle as an IItemHandlerModifiable
.
- getLabel(ItemStack) - Method in interface dan200.computercraft.api.media.IMedia
-
Get a string representing the label of this item.
- getLegacyUpgradeID() - Method in interface dan200.computercraft.api.turtle.ITurtleUpgrade
-
Gets a numerical identifier representing this type of turtle upgrade,
for backwards compatibility with pre-1.76 worlds.
- getLevel() - Method in exception dan200.computercraft.api.lua.LuaException
-
The level this error is raised at.
- getLight() - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Get the colour of this pocket computer's light as a RGB number.
- getMedia(ItemStack) - Method in interface dan200.computercraft.api.media.IMediaProvider
-
Produce an IMedia implementation from an ItemStack.
- getMethodNames() - Method in interface dan200.computercraft.api.lua.ILuaObject
-
Get the names of the methods that this object implements.
- getMethodNames() - Method in interface dan200.computercraft.api.peripheral.IPeripheral
-
Should return an array of strings that identify the methods that this
peripheral exposes to Lua.
- getModel(ITurtleAccess, TurtleSide) - Method in interface dan200.computercraft.api.turtle.ITurtleUpgrade
-
Called to obtain the model to be used when rendering a turtle peripheral.
- getPayload() - Method in class dan200.computercraft.api.network.Packet
-
The actual data of this packet.
- getPeripheral(World, BlockPos, EnumFacing) - Method in interface dan200.computercraft.api.peripheral.IPeripheralProvider
-
Produce an peripheral implementation from a block location.
- getPeripheral(TurtleSide) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Returns the peripheral created by the upgrade on the specified side of the turtle, if there is one.
- getPosition() - Method in interface dan200.computercraft.api.network.IPacketReceiver
-
Get the position in the world at which this receiver exists.
- getPosition() - Method in interface dan200.computercraft.api.network.IPacketSender
-
Get the position in the world at which this sender exists.
- getPosition() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Returns a vector containing the integer co-ordinates at which the turtle resides.
- getRange() - Method in interface dan200.computercraft.api.network.IPacketReceiver
-
Get the maximum distance this receiver can send and receive messages.
- getRemainingSpace() - Method in interface dan200.computercraft.api.filesystem.IWritableMount
-
Get the amount of free space on the mount, in bytes.
- getReplyChannel() - Method in class dan200.computercraft.api.network.Packet
-
The channel to reply on.
- getResults() - Method in class dan200.computercraft.api.turtle.TurtleCommandResult
-
Get the resulting values of this command result.
- getSelectedSlot() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Get the currently selected slot in the turtle's inventory.
- getSender() - Method in class dan200.computercraft.api.network.Packet
-
The object which sent this message.
- getSenderID() - Method in interface dan200.computercraft.api.network.IPacketSender
-
Get some sort of identification string for this sender.
- getSize(String) - Method in interface dan200.computercraft.api.filesystem.IMount
-
Returns the size of a file with a given path, in bytes
- getType() - Method in interface dan200.computercraft.api.peripheral.IPeripheral
-
Should return a string that uniquely identifies this type of peripheral.
- getType() - Method in interface dan200.computercraft.api.turtle.ITurtleUpgrade
-
Return whether this turtle adds a tool or a peripheral to the turtle.
- getUnlocalisedAdjective() - Method in interface dan200.computercraft.api.pocket.IPocketUpgrade
-
Return an unlocalised string to describe the type of pocket computer this upgrade provides.
- getUnlocalisedAdjective() - Method in interface dan200.computercraft.api.turtle.ITurtleUpgrade
-
Return an unlocalised string to describe this type of turtle in turtle item names.
- getUpgrade(TurtleSide) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Returns the turtle on the specified side of the turtle, if there is one.
- getUpgradeID() - Method in interface dan200.computercraft.api.pocket.IPocketUpgrade
-
Gets a unique identifier representing this type of turtle upgrade.
- getUpgradeID() - Method in interface dan200.computercraft.api.turtle.ITurtleUpgrade
-
Gets a unique identifier representing this type of turtle upgrade.
- getUpgradeNBTData() - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Get the upgrade-specific NBT.
- getUpgradeNBTData(TurtleSide) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Get an upgrade-specific NBT compound, which can be used to store arbitrary data.
- getUpgrades() - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Get a list of all upgrades for the pocket computer.
- getVisualPosition(float) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Returns a vector containing the floating point co-ordinates at which the turtle is rendered.
- getVisualYaw(float) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Returns the yaw the turtle is facing when it is rendered.
- getWirelessNetwork() - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
Attempt to get the game-wide wireless network.
- getWorld() - Method in interface dan200.computercraft.api.network.IPacketReceiver
-
Get the world in which this packet receiver exists.
- getWorld() - Method in interface dan200.computercraft.api.network.IPacketSender
-
Get the world in which this packet sender exists.
- getWorld() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Returns the world in which the turtle resides.
- IBundledRedstoneProvider - Interface in dan200.computercraft.api.redstone
-
This interface is used to provide bundled redstone output for blocks.
- IComputerAccess - Interface in dan200.computercraft.api.peripheral
-
The interface passed to peripherals by computers or turtles, providing methods
that they can call.
- ILuaContext - Interface in dan200.computercraft.api.lua
-
An interface passed to peripherals and
ILuaObject
s by computers or turtles, providing methods
that allow the peripheral call to wait for events before returning, just like in lua.
- ILuaObject - Interface in dan200.computercraft.api.lua
-
- ILuaTask - Interface in dan200.computercraft.api.lua
-
- IMedia - Interface in dan200.computercraft.api.media
-
Represents an item that can be placed in a disk drive and used by a Computer.
- IMediaProvider - Interface in dan200.computercraft.api.media
-
This interface is used to provide
IMedia
implementations for
ItemStack
.
- IMount - Interface in dan200.computercraft.api.filesystem
-
Represents a read only part of a virtual filesystem that can be mounted onto a computer using
IComputerAccess.mount(String, IMount)
Ready made implementations of this interface can be created using
ComputerCraftAPI#createSaveDirMount(World, String, long)
or
ComputerCraftAPI#createResourceMount(Class, String, String)
, or you're free to implement it yourselves!
- invalidatePeripheral() - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Remove the current peripheral and create a new one.
- IPacketNetwork - Interface in dan200.computercraft.api.network
-
A packet network represents a collection of devices which can send and receive packets.
- IPacketReceiver - Interface in dan200.computercraft.api.network
-
- IPacketSender - Interface in dan200.computercraft.api.network
-
- IPeripheral - Interface in dan200.computercraft.api.peripheral
-
The interface that defines a peripheral.
- IPeripheralProvider - Interface in dan200.computercraft.api.peripheral
-
This interface is used to create peripheral implementations for blocks.
- IPocketAccess - Interface in dan200.computercraft.api.pocket
-
Wrapper class for pocket computers
- IPocketUpgrade - Interface in dan200.computercraft.api.pocket
-
Additional peripherals for pocket computers.
- isBlockEditable(World, BlockPos) - Method in interface dan200.computercraft.api.permissions.ITurtlePermissionProvider
-
Determine whether a block can be modified by a turtle.
- isBlockEnterable(World, BlockPos) - Method in interface dan200.computercraft.api.permissions.ITurtlePermissionProvider
-
Determine whether a block can be entered by a turtle.
- isDirectory(String) - Method in interface dan200.computercraft.api.filesystem.IMount
-
Returns whether a file with a given path is a directory or not.
- isFuelNeeded() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Determine whether this turtle will require fuel when performing actions.
- isInstalled() - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
- isInterdimensional() - Method in interface dan200.computercraft.api.network.IPacketReceiver
-
Determine whether this receiver can receive packets from other dimensions.
- isPeripheral() - Method in enum dan200.computercraft.api.turtle.TurtleUpgradeType
-
- isSuccess() - Method in class dan200.computercraft.api.turtle.TurtleCommandResult
-
Determine whether the command executed successfully.
- issueMainThreadTask(ILuaTask) - Method in interface dan200.computercraft.api.lua.ILuaContext
-
Queue a task to be executed on the main server thread at the beginning of next tick, but do not wait for it to
complete.
- isTool() - Method in enum dan200.computercraft.api.turtle.TurtleUpgradeType
-
- isWireless() - Method in interface dan200.computercraft.api.network.IPacketNetwork
-
Determine whether this network is wireless.
- ITurtleAccess - Interface in dan200.computercraft.api.turtle
-
The interface passed to turtle by turtles, providing methods that they can call.
- ITurtleCommand - Interface in dan200.computercraft.api.turtle
-
- ITurtlePermissionProvider - Interface in dan200.computercraft.api.permissions
-
This interface is used to restrict where turtles can move or build.
- ITurtleUpgrade - Interface in dan200.computercraft.api.turtle
-
The primary interface for defining an update for Turtles.
- IWritableMount - Interface in dan200.computercraft.api.filesystem
-