Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractPocketUpgrade - Class in dan200.computercraft.api.pocket
-
A base class for
IPocketUpgrades. - AbstractPocketUpgrade(ResourceLocation, String, ItemStack) - Constructor for class dan200.computercraft.api.pocket.AbstractPocketUpgrade
- AbstractPocketUpgrade(ResourceLocation, ItemStack) - Constructor for class dan200.computercraft.api.pocket.AbstractPocketUpgrade
- AbstractTurtleUpgrade - Class in dan200.computercraft.api.turtle
-
A base class for
ITurtleUpgrades. - AbstractTurtleUpgrade(ResourceLocation, TurtleUpgradeType, String, ItemStack) - Constructor for class dan200.computercraft.api.turtle.AbstractTurtleUpgrade
- AbstractTurtleUpgrade(ResourceLocation, TurtleUpgradeType, ItemStack) - Constructor for class dan200.computercraft.api.turtle.AbstractTurtleUpgrade
- add(Consumer) - Method in class dan200.computercraft.api.turtle.TurtleUpgradeDataProvider.ToolBuilder
-
Register this as an upgrade.
- add(Consumer) - Method in record class dan200.computercraft.api.upgrades.UpgradeDataProvider.Upgrade
-
Convenience method for registering an upgrade.
- addFuel(int) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Increase the turtle's fuel level by the given amount.
- addProvider(DetailProvider) - Method in interface dan200.computercraft.api.detail.DetailRegistry
-
Registers a detail provider.
- addReceiver(PacketReceiver) - Method in interface dan200.computercraft.api.network.PacketNetwork
-
Add a receiver to the network.
- addUpgrades(Consumer) - Method in class dan200.computercraft.api.upgrades.UpgradeDataProvider
-
Add all turtle or pocket computer upgrades.
- adjective(String) - Method in class dan200.computercraft.api.turtle.TurtleUpgradeDataProvider.ToolBuilder
-
Specify a custom adjective for this tool.
- ADMIN_COMPUTER - Static variable in class dan200.computercraft.api.component.ComputerComponents
-
This component is only present on "command computers", and other computers with admin capabilities.
- AdminComputer - Interface in dan200.computercraft.api.component
-
A computer which has permission to perform administrative/op commands, such as the command computer.
- allowEnchantments() - Method in class dan200.computercraft.api.turtle.TurtleUpgradeDataProvider.ToolBuilder
-
Indicate that this upgrade allows items which have been enchanted or have custom attribute modifiers.
- ALWAYS - Enum constant in enum class dan200.computercraft.api.turtle.TurtleToolDurability
-
The equipped tool always consumes durability when using.
- ATTACK - Enum constant in enum class dan200.computercraft.api.turtle.TurtleVerb
-
The turtle called
turtle.attack(),turtle.attackUp()orturtle.attackDown().
B
- BasicItemDetailProvider<T> - Class in dan200.computercraft.api.detail
-
An item detail provider for
ItemStacks whoseItemhas a specific type. - BasicItemDetailProvider(String, Class) - Constructor for class dan200.computercraft.api.detail.BasicItemDetailProvider
-
Create a new item detail provider.
- BasicItemDetailProvider(Class) - Constructor for class dan200.computercraft.api.detail.BasicItemDetailProvider
-
Create a new item detail provider.
- BLOCK_IN_WORLD - Static variable in class dan200.computercraft.api.detail.VanillaDetailRegistries
-
Provides details for
BlockReference, a reference to aBlockin the world. - blockEntity() - Method in record class dan200.computercraft.api.detail.BlockReference
-
Returns the value of the
blockEntityrecord component. - BlockReference - Record Class in dan200.computercraft.api.detail
-
A reference to a block in the world, used by block detail providers.
- BlockReference(Level, BlockPos) - Constructor for record class dan200.computercraft.api.detail.BlockReference
- BlockReference(Level, BlockPos, BlockState, BlockEntity) - Constructor for record class dan200.computercraft.api.detail.BlockReference
-
Creates an instance of a
BlockReferencerecord class. - Blocks() - Constructor for class dan200.computercraft.api.ComputerCraftTags.Blocks
- BOTH - Enum constant in enum class dan200.computercraft.api.turtle.TurtleUpgradeType
-
An upgrade which provides both a tool and a peripheral.
- breakable(TagKey) - Method in class dan200.computercraft.api.turtle.TurtleUpgradeDataProvider.ToolBuilder
-
Provide a list of breakable blocks.
- Built-in detail providers - Section in package dan200.computercraft.api.detail
- BundledRedstoneProvider - Interface in dan200.computercraft.api.redstone
-
This interface is used to provide bundled redstone output for blocks.
C
- channel() - Method in record class dan200.computercraft.api.network.Packet
-
Returns the value of the
channelrecord component. - CODEC - Static variable in enum class dan200.computercraft.api.turtle.TurtleToolDurability
-
The codec which may be used for serialising/deserialising
TurtleToolDurabilitys. - COMPUTER - Static variable in class dan200.computercraft.api.ComputerCraftTags.Blocks
-
All computers.
- COMPUTER - Static variable in class dan200.computercraft.api.ComputerCraftTags.Items
-
All computers.
- ComputerComponent<T> - Class in dan200.computercraft.api.component
-
A component attached to a computer.
- ComputerComponents - Class in dan200.computercraft.api.component
-
The
ComputerComponents provided by ComputerCraft. - ComputerComponents() - Constructor for class dan200.computercraft.api.component.ComputerComponents
- ComputerCraftAPI - Class in dan200.computercraft.api
-
The static entry point to the ComputerCraft API.
- ComputerCraftAPI() - Constructor for class dan200.computercraft.api.ComputerCraftAPI
- ComputerCraftAPIClient - Class in dan200.computercraft.api.client
-
The public API for client-only code.
- ComputerCraftTags - Class in dan200.computercraft.api
-
Tags provided by ComputerCraft.
- ComputerCraftTags() - Constructor for class dan200.computercraft.api.ComputerCraftTags
- ComputerCraftTags.Blocks - Class in dan200.computercraft.api
-
Block tags provided by ComputerCraft.
- ComputerCraftTags.Items - Class in dan200.computercraft.api
-
Item tags provided by ComputerCraft.
- connect(WiredNode, WiredNode) - Method in interface dan200.computercraft.api.network.wired.WiredNetwork
-
Deprecated.
- connectTo(WiredNode) - Method in interface dan200.computercraft.api.network.wired.WiredNode
-
Create a connection from this node to another.
- consumeDurability(TurtleToolDurability) - Method in class dan200.computercraft.api.turtle.TurtleUpgradeDataProvider.ToolBuilder
-
Set when the tool will consume durability.
- consumeFuel(int) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Removes some fuel from the turtles fuel supply.
- copy() - Method in record class dan200.computercraft.api.upgrades.UpgradeData
-
Take a copy of this
UpgradeData. - copyOf(UpgradeData) - Static method in record class dan200.computercraft.api.upgrades.UpgradeData
-
Take a copy of a (possibly
null)UpgradeDatainstance. - craftingItem(Item) - Method in class dan200.computercraft.api.turtle.TurtleUpgradeDataProvider.ToolBuilder
-
Specify a custom item which is used to craft this upgrade.
- create(IComputerSystem) - Method in interface dan200.computercraft.api.lua.ILuaAPIFactory
-
Create a new API instance for a given computer.
- create(String, String) - Static method in class dan200.computercraft.api.component.ComputerComponent
-
Create a new computer component.
- createDataMount(ItemStack, ServerLevel) - Method in interface dan200.computercraft.api.media.IMedia
-
If this disk represents an item with data (like a floppy disk), get a mount representing it's contents.
- createPeripheral(IPocketAccess) - Method in interface dan200.computercraft.api.pocket.IPocketUpgrade
-
Creates a peripheral for the pocket computer.
- createPeripheral(ITurtleAccess, TurtleSide) - Method in interface dan200.computercraft.api.turtle.ITurtleUpgrade
-
Will only be called for peripheral upgrades.
- createResourceMount(MinecraftServer, String, String) - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
Creates a file system mount to a resource folder, and returns it.
- createSaveDirMount(MinecraftServer, String, long) - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
Creates a file system mount that maps to a subfolder of the save directory for a given world, and returns it.
- createUniqueNumberedSaveDir(MinecraftServer, String) - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
Creates a numbered directory in a subfolder of the save directory for a given world, and returns that number.
- createWiredNodeForElement(WiredElement) - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
Construct a new wired node for a given wired element.
D
- damageMultiplier(float) - Method in class dan200.computercraft.api.turtle.TurtleUpgradeDataProvider.ToolBuilder
-
The amount of damage a swing of this tool will do.
- dan200.computercraft.api - package dan200.computercraft.api
- dan200.computercraft.api.client - package dan200.computercraft.api.client
- dan200.computercraft.api.client.turtle - package dan200.computercraft.api.client.turtle
- dan200.computercraft.api.component - package dan200.computercraft.api.component
- dan200.computercraft.api.detail - package dan200.computercraft.api.detail
-
The detail system provides a standard way for mods to return descriptions of common game objects, such as blocks or items, as well as registering additional detail to be included in those descriptions.
- dan200.computercraft.api.lua - package dan200.computercraft.api.lua
- dan200.computercraft.api.media - package dan200.computercraft.api.media
- dan200.computercraft.api.network - package dan200.computercraft.api.network
- dan200.computercraft.api.network.wired - package dan200.computercraft.api.network.wired
- dan200.computercraft.api.pocket - package dan200.computercraft.api.pocket
- dan200.computercraft.api.redstone - package dan200.computercraft.api.redstone
- dan200.computercraft.api.turtle - package dan200.computercraft.api.turtle
- dan200.computercraft.api.upgrades - package dan200.computercraft.api.upgrades
- data() - Method in record class dan200.computercraft.api.upgrades.UpgradeData
-
Returns the value of the
datarecord component. - DetailProvider<T> - Interface in dan200.computercraft.api.detail
-
Provide details about a block, fluid, or item.
- DetailRegistry<T> - Interface in dan200.computercraft.api.detail
-
A registry which provides computer-visible detail about in-game objects such as blocks, items or fluids.
- DIG - Enum constant in enum class dan200.computercraft.api.turtle.TurtleVerb
-
The turtle called
turtle.dig(),turtle.digUp()orturtle.digDown(). - disconnect(WiredNode, WiredNode) - Method in interface dan200.computercraft.api.network.wired.WiredNetwork
-
Deprecated.
- disconnectFrom(WiredNode) - Method in interface dan200.computercraft.api.network.wired.WiredNode
-
Destroy a connection between this node and another.
- DISKS - Static variable in class dan200.computercraft.api.ComputerCraftTags.Items
-
Floppy disks.
E
- ENTITY - Static variable in class dan200.computercraft.api.detail.VanillaDetailRegistries
-
Provides details for
Entitys. - equals(Object) - Method in record class dan200.computercraft.api.detail.BlockReference
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dan200.computercraft.api.network.Packet
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dan200.computercraft.api.upgrades.UpgradeData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dan200.computercraft.api.upgrades.UpgradeDataProvider.Upgrade
-
Indicates whether some other object is "equal to" this one.
- Example - Section in class dan200.computercraft.api.turtle.TurtleUpgradeDataProvider
- Example - Section in dan200.computercraft.api.upgrades.UpgradeDataProvider.addUpgrades(Consumer)
- Example - Section in interface dan200.computercraft.api.client.turtle.TurtleUpgradeModeller
- Example - Section in interface dan200.computercraft.api.turtle.ITurtleUpgrade
- Example: Registering custom detail registries - Section in package dan200.computercraft.api.detail
- Example: Returning details from methods - Section in package dan200.computercraft.api.detail
- execute(ITurtleAccess) - Method in interface dan200.computercraft.api.turtle.TurtleCommand
-
Will be called by the turtle on the main thread when it is time to execute the custom command.
- executeCommand(TurtleCommand) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Adds a custom command to the turtles command queue.
- existingSerialiser(ResourceLocation) - Method in class dan200.computercraft.api.upgrades.UpgradeDataProvider
F
- Fabric - Section in interface dan200.computercraft.api.client.turtle.TurtleUpgradeModeller
- Fabric - Section in interface dan200.computercraft.api.turtle.ITurtleUpgrade
- Fabric - Section in interface dan200.computercraft.api.turtle.ITurtleUpgrade
- failure() - Static method in class dan200.computercraft.api.turtle.TurtleCommandResult
-
Create a failed command result with no error message.
- failure(String) - Static method in class dan200.computercraft.api.turtle.TurtleCommandResult
-
Create a failed command result with an error message.
- flatItem() - Static method in interface dan200.computercraft.api.client.turtle.TurtleUpgradeModeller
-
A basic
TurtleUpgradeModellerwhich renders using the upgrade's UpgradeBase.getUpgradeItem(CompoundTag) upgrade item}. - Forge - Section in interface dan200.computercraft.api.client.turtle.TurtleUpgradeModeller
- Forge - Section in interface dan200.computercraft.api.turtle.ITurtleUpgrade
- Forge - Section in interface dan200.computercraft.api.turtle.ITurtleUpgrade
- fromJson(ResourceLocation, JsonObject) - Method in interface dan200.computercraft.api.upgrades.UpgradeSerialiser
-
Read this upgrade from a JSON file in a datapack.
- fromNetwork(ResourceLocation, FriendlyByteBuf) - Method in interface dan200.computercraft.api.upgrades.UpgradeSerialiser
-
Read this upgrade from a network packet, sent from the server.
G
- get(ItemStack) - Static method in interface dan200.computercraft.api.media.PrintoutContents
-
Get the printout contents for a particular stack.
- 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.
- getBasicDetails(T) - Method in interface dan200.computercraft.api.detail.DetailRegistry
-
Compute basic details about an object.
- getBundledRedstoneOutput(Level, BlockPos, Direction) - 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(Level, BlockPos, Direction) - Method in interface dan200.computercraft.api.redstone.BundledRedstoneProvider
-
Produce an bundled redstone output from a block location.
- 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.
- getComponent(ComputerComponent) - Method in interface dan200.computercraft.api.lua.IComputerSystem
-
Get a component attached to this computer.
- getCraftingItem() - Method in class dan200.computercraft.api.pocket.AbstractPocketUpgrade
- getCraftingItem() - Method in class dan200.computercraft.api.turtle.AbstractTurtleUpgrade
- getCraftingItem() - Method in interface dan200.computercraft.api.upgrades.UpgradeBase
-
Return an item stack representing the type of item that a computer must be crafted with to create a version which holds this upgrade.
- getDefaultAdjective(ResourceLocation) - Static method in interface dan200.computercraft.api.upgrades.UpgradeBase
-
Get a suitable default unlocalised adjective for an upgrade ID.
- getDependencies() - Method in interface dan200.computercraft.api.client.turtle.TurtleUpgradeModeller
-
Get a list of models that this turtle modeller depends on.
- getDetails(T) - Method in interface dan200.computercraft.api.detail.DetailRegistry
-
Compute all details about an object, using
DetailRegistry.getBasicDetails(Object)and any registered providers. - getDirection() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Returns the world direction the turtle is currently facing.
- getElement() - Method in interface dan200.computercraft.api.network.wired.WiredNode
-
The associated element for this network node.
- 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.
- getGeneratedUpgrades() - Method in class dan200.computercraft.api.upgrades.UpgradeDataProvider
- getInstalledVersion() - Static method in class dan200.computercraft.api.ComputerCraftAPI
- getInventory() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Get the inventory of this turtle.
- getLabel() - Method in interface dan200.computercraft.api.lua.IComputerSystem
-
Get the label for this computer.
- getLabel(ItemStack) - Method in interface dan200.computercraft.api.media.IMedia
-
Get a string representing the label of this item.
- getLevel() - Method in interface dan200.computercraft.api.lua.IComputerSystem
-
Get the level this computer is currently in.
- getLevel() - Method in interface dan200.computercraft.api.network.PacketReceiver
-
Get the world in which this packet receiver exists.
- getLevel() - Method in interface dan200.computercraft.api.network.PacketSender
-
Get the world in which this packet sender exists.
- getLevel() - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Get the level in which the pocket computer exists.
- getLevel() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Returns the world in which the turtle resides.
- getLight() - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Get the colour of this pocket computer's light as a RGB number.
- getMatrix() - Method in class dan200.computercraft.api.client.TransformedModel
- getMedia(ItemStack) - Method in interface dan200.computercraft.api.media.MediaProvider
-
Produce an IMedia implementation from an ItemStack.
- getModel() - Method in class dan200.computercraft.api.client.TransformedModel
- getModel(T, ITurtleAccess, TurtleSide) - Method in interface dan200.computercraft.api.client.turtle.TurtleUpgradeModeller
-
Obtain the model to be used when rendering a turtle peripheral.
- getModel(T, CompoundTag, TurtleSide) - Method in interface dan200.computercraft.api.client.turtle.TurtleUpgradeModeller
-
Obtain the model to be used when rendering a turtle peripheral.
- getName() - Method in class dan200.computercraft.api.upgrades.UpgradeDataProvider
- getNetwork() - Method in interface dan200.computercraft.api.network.wired.WiredNode
-
Deprecated.Use the connect/disconnect/remove methods on
WiredNode. - getNode() - Method in interface dan200.computercraft.api.network.wired.WiredSender
-
The node in the network representing this object.
- getOwningPlayer() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Get the player who owns this turtle, namely whoever placed it.
- 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.
- getPersistedData(CompoundTag) - Method in interface dan200.computercraft.api.turtle.ITurtleUpgrade
-
Get upgrade data that should be persisted when the turtle was broken.
- getPosition() - Method in interface dan200.computercraft.api.lua.IComputerSystem
-
Get the position this computer is currently at.
- getPosition() - Method in interface dan200.computercraft.api.network.PacketReceiver
-
Get the position in the world at which this receiver exists.
- getPosition() - Method in interface dan200.computercraft.api.network.PacketSender
-
Get the position in the world at which this sender exists.
- getPosition() - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Get the position of the pocket computer.
- 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.PacketReceiver
-
Get the maximum distance this receiver can send and receive messages.
- 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.
- getSenderID() - Method in interface dan200.computercraft.api.network.PacketSender
-
Get some sort of identification string for this sender.
- getSerializedName() - Method in enum class dan200.computercraft.api.turtle.TurtleToolDurability
- getTextLines() - Method in interface dan200.computercraft.api.media.PrintoutContents
-
Get the text contents of this printout, as a sequence of lines.
- getTitle() - Method in interface dan200.computercraft.api.media.PrintoutContents
-
Get the (possibly empty) title for this printout.
- getType() - Method in class dan200.computercraft.api.turtle.AbstractTurtleUpgrade
- 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 class dan200.computercraft.api.pocket.AbstractPocketUpgrade
- getUnlocalisedAdjective() - Method in class dan200.computercraft.api.turtle.AbstractTurtleUpgrade
- getUnlocalisedAdjective() - Method in interface dan200.computercraft.api.upgrades.UpgradeBase
-
Return an unlocalised string to describe this type of computer in item names.
- getUpgrade() - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Get the currently equipped upgrade.
- getUpgrade(TurtleSide) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Returns the upgrade on the specified side of the turtle, if there is one.
- getUpgradeData(ItemStack) - Method in interface dan200.computercraft.api.upgrades.UpgradeBase
-
Extract upgrade data from an
ItemStack. - getUpgradeID() - Method in class dan200.computercraft.api.pocket.AbstractPocketUpgrade
- getUpgradeID() - Method in class dan200.computercraft.api.turtle.AbstractTurtleUpgrade
- getUpgradeID() - Method in interface dan200.computercraft.api.upgrades.UpgradeBase
-
Gets a unique identifier representing this type of turtle upgrade.
- getUpgradeItem() - Method in record class dan200.computercraft.api.upgrades.UpgradeData
-
Get the upgrade item for this upgrade.
- getUpgradeItem(CompoundTag) - Method in interface dan200.computercraft.api.upgrades.UpgradeBase
-
Returns the item stack representing a currently equipped 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
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a relic of a previous API, which no longer makes sense with newer versions of ComputerCraft.
- getUpgradeWithData(TurtleSide) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Returns the upgrade on the specified side of the turtle, along with its update data.
- getWirelessNetwork(MinecraftServer) - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
Attempt to get the game-wide wireless network.
H
- hashCode() - Method in record class dan200.computercraft.api.detail.BlockReference
-
Returns a hash code value for this object.
- hashCode() - Method in record class dan200.computercraft.api.network.Packet
-
Returns a hash code value for this object.
- hashCode() - Method in record class dan200.computercraft.api.upgrades.UpgradeData
-
Returns a hash code value for this object.
- hashCode() - Method in record class dan200.computercraft.api.upgrades.UpgradeDataProvider.Upgrade
-
Returns a hash code value for this object.
I
- IComputerSystem - Interface in dan200.computercraft.api.lua
-
An interface passed to
ILuaAPIFactoryin order to provide additional information about a computer. - id() - Method in record class dan200.computercraft.api.upgrades.UpgradeDataProvider.Upgrade
-
Returns the value of the
idrecord component. - ILuaAPIFactory - Interface in dan200.computercraft.api.lua
-
Construct an
ILuaAPIfor a computer. - IMedia - Interface in dan200.computercraft.api.media
-
Represents an item that can be placed in a disk drive and used by a Computer.
- invalidatePeripheral() - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Remove the current peripheral and create a new one.
- IPocketAccess - Interface in dan200.computercraft.api.pocket
-
Wrapper class for pocket computers.
- IPocketUpgrade - Interface in dan200.computercraft.api.pocket
-
A peripheral which can be equipped to the back side of a pocket computer.
- isFuelNeeded() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Determine whether this turtle will require fuel when performing actions.
- isInterdimensional() - Method in interface dan200.computercraft.api.network.PacketReceiver
-
Determine whether this receiver can receive packets from other dimensions.
- isItemSuitable(ItemStack) - Method in interface dan200.computercraft.api.upgrades.UpgradeBase
-
Determine if an item is suitable for being used for this upgrade.
- isPeripheral() - Method in enum class dan200.computercraft.api.turtle.TurtleUpgradeType
- isRemoved() - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Determine if this turtle has been removed.
- isSuccess() - Method in class dan200.computercraft.api.turtle.TurtleCommandResult
-
Determine whether the command executed successfully.
- isTool() - Method in enum class dan200.computercraft.api.turtle.TurtleUpgradeType
- isWireless() - Method in interface dan200.computercraft.api.network.PacketNetwork
-
Determine whether this network is wireless.
- ITEM_STACK - Static variable in class dan200.computercraft.api.detail.VanillaDetailRegistries
-
Provides details for
ItemStacks. - Items() - Constructor for class dan200.computercraft.api.ComputerCraftTags.Items
- ITurtleAccess - Interface in dan200.computercraft.api.turtle
-
The interface passed to turtle by turtles, providing methods that they can call.
- ITurtleUpgrade - Interface in dan200.computercraft.api.turtle
-
The primary interface for defining an update for Turtles.
L
- LEFT - Enum constant in enum class dan200.computercraft.api.turtle.TurtleSide
-
The turtle's left side (where the pickaxe usually is on a Wireless Mining Turtle).
- level() - Method in record class dan200.computercraft.api.detail.BlockReference
-
Returns the value of the
levelrecord component.
M
- MediaProvider - Interface in dan200.computercraft.api.media
-
This interface is used to provide
IMediaimplementations forItemStack. - MOD_ID - Static variable in class dan200.computercraft.api.ComputerCraftAPI
- MONITOR - Static variable in class dan200.computercraft.api.ComputerCraftTags.Blocks
-
All monitors.
- MONITOR - Static variable in class dan200.computercraft.api.ComputerCraftTags.Items
-
All monitors.
- MOVE_BACK - Enum constant in enum class dan200.computercraft.api.turtle.TurtleAnimation
-
Make the turtle move backwards.
- MOVE_DOWN - Enum constant in enum class dan200.computercraft.api.turtle.TurtleAnimation
-
Make the turtle move backwards.
- MOVE_FORWARD - Enum constant in enum class dan200.computercraft.api.turtle.TurtleAnimation
-
Make the turtle move forward.
- MOVE_UP - Enum constant in enum class dan200.computercraft.api.turtle.TurtleAnimation
-
Make the turtle move backwards.
N
- networkChanged(WiredNetworkChange) - Method in interface dan200.computercraft.api.network.wired.WiredElement
-
Called when peripherals on the network change.
- NEVER - Enum constant in enum class dan200.computercraft.api.turtle.TurtleToolDurability
-
The equipped tool never consumes durability.
- NONE - Enum constant in enum class dan200.computercraft.api.turtle.TurtleAnimation
-
An animation which does nothing.
O
- of(ModelResourceLocation) - Static method in class dan200.computercraft.api.client.TransformedModel
- of(ResourceLocation) - Static method in class dan200.computercraft.api.client.TransformedModel
- of(ItemStack, Transformation) - Static method in class dan200.computercraft.api.client.TransformedModel
- of(T, CompoundTag) - Static method in record class dan200.computercraft.api.upgrades.UpgradeData
-
A utility method to construct a new
UpgradeDatainstance. - ofDefault(T) - Static method in record class dan200.computercraft.api.upgrades.UpgradeData
-
Create an
UpgradeDatacontaining the default data for an upgrade. - onRightClick(Level, IPocketAccess, IPeripheral) - Method in interface dan200.computercraft.api.pocket.IPocketUpgrade
-
Called when the pocket computer is right clicked.
P
- Packet - Record Class in dan200.computercraft.api.network
-
Represents a packet which may be sent across a
PacketNetwork. - Packet(int, int, Object, PacketSender) - Constructor for record class dan200.computercraft.api.network.Packet
-
Creates an instance of a
Packetrecord class. - PacketNetwork - Interface in dan200.computercraft.api.network
-
A packet network represents a collection of devices which can send and receive packets.
- PacketReceiver - Interface in dan200.computercraft.api.network
-
An object on an
PacketNetwork, capable of receiving packets. - PacketSender - Interface in dan200.computercraft.api.network
-
An object on a
PacketNetwork, capable of sending packets. - payload() - Method in record class dan200.computercraft.api.network.Packet
-
Returns the value of the
payloadrecord component. - PERIPHERAL - Enum constant in enum class dan200.computercraft.api.turtle.TurtleUpgradeType
-
A peripheral adds a special peripheral which is attached to the side of the turtle, and can be interacted with the
peripheralAPI (Such as the modem on Wireless Turtles). - PERIPHERAL_HUB_IGNORE - Static variable in class dan200.computercraft.api.ComputerCraftTags.Blocks
-
Blocks which should be ignored by a
peripheral_hubperipheral. - peripheralsAdded() - Method in interface dan200.computercraft.api.network.wired.WiredNetworkChange
-
A set of peripherals which have been added.
- peripheralsRemoved() - Method in interface dan200.computercraft.api.network.wired.WiredNetworkChange
-
A set of peripherals which have been removed.
- permissionLevel() - Method in interface dan200.computercraft.api.component.AdminComputer
-
The permission level that this computer can operate at.
- playAnimation(TurtleAnimation) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Start playing a specific animation.
- POCKET - Static variable in class dan200.computercraft.api.component.ComputerComponents
-
The
IPocketAccessassociated with a pocket computer. - POCKET_COMPUTERS - Static variable in class dan200.computercraft.api.ComputerCraftTags.Items
-
All pocket computers.
- PocketUpgradeDataProvider - Class in dan200.computercraft.api.pocket
-
A data provider to generate pocket computer upgrades.
- PocketUpgradeDataProvider(PackOutput) - Constructor for class dan200.computercraft.api.pocket.PocketUpgradeDataProvider
- PocketUpgradeSerialiser<T> - Interface in dan200.computercraft.api.pocket
-
Reads a
IPocketUpgradefrom disk and reads/writes it to a network packet. - pos() - Method in record class dan200.computercraft.api.detail.BlockReference
-
Returns the value of the
posrecord component. - PrintoutContents - Interface in dan200.computercraft.api.media
-
The contents of a page (or book) created by a ComputerCraft printer.
- provideDetails(Map, ItemStack) - Method in class dan200.computercraft.api.detail.BasicItemDetailProvider
- provideDetails(Map, ItemStack, T) - Method in class dan200.computercraft.api.detail.BasicItemDetailProvider
-
Provide additional details for the given
ItemandItemStack. - provideDetails(Map, T) - Method in interface dan200.computercraft.api.detail.DetailProvider
-
Provide additional details for the given object.
Q
- Quick links - Section in Overview
R
- receiveDifferentDimension(Packet) - Method in interface dan200.computercraft.api.network.PacketReceiver
-
Receive a network packet from a different dimension.
- receiveSameDimension(Packet, double) - Method in interface dan200.computercraft.api.network.PacketReceiver
-
Receive a network packet from the same dimension.
- refuel(ITurtleAccess, ItemStack, int, int) - Method in interface dan200.computercraft.api.turtle.TurtleRefuelHandler
-
Refuel a turtle using an item.
- register(TurtleUpgradeSerialiser, TurtleUpgradeModeller) - Method in interface dan200.computercraft.api.client.turtle.RegisterTurtleUpgradeModeller
-
Register a
TurtleUpgradeModeller. - registerAPIFactory(ILuaAPIFactory) - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
Register a custom
ILuaAPI, which may be added onto all computers without requiring a peripheral. - registerBundledRedstoneProvider(BundledRedstoneProvider) - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
Registers a bundled redstone provider to provide bundled redstone output for blocks.
- registerGenericSource(GenericSource) - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
Registers a method source for generic peripherals.
- Registering the upgrade itself - Section in interface dan200.computercraft.api.turtle.ITurtleUpgrade
- Registering the upgrade serialiser - Section in interface dan200.computercraft.api.turtle.ITurtleUpgrade
- registerMediaProvider(MediaProvider) - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
Registers a media provider to provide
IMediaimplementations for Items. - registerRefuelHandler(TurtleRefuelHandler) - Static method in class dan200.computercraft.api.ComputerCraftAPI
-
Register a refuel handler for turtles.
- registerTurtleUpgradeModeller(TurtleUpgradeSerialiser, TurtleUpgradeModeller) - Static method in class dan200.computercraft.api.client.ComputerCraftAPIClient
-
Deprecated, for removal: This API element is subject to removal in a future version.This method can lead to confusing load behaviour on Forge. Use
dan200.computercraft.api.client.FabricComputerCraftAPIClient#registerTurtleUpgradeModelleron Fabric, ordan200.computercraft.api.client.turtle.RegisterTurtleModellersEventon Forge. - RegisterTurtleUpgradeModeller - Interface in dan200.computercraft.api.client.turtle
-
A functional interface to register a
TurtleUpgradeModellerfor a class of turtle upgrades. - registryId() - Static method in interface dan200.computercraft.api.pocket.PocketUpgradeSerialiser
-
The ID for the associated registry.
- registryId() - Static method in interface dan200.computercraft.api.turtle.TurtleUpgradeSerialiser
-
The ID for the associated registry.
- remove() - Method in interface dan200.computercraft.api.network.wired.WiredNode
-
Sever all connections this node has, removing it from this network.
- remove(WiredNode) - Method in interface dan200.computercraft.api.network.wired.WiredNetwork
-
Deprecated.
- removeReceiver(PacketReceiver) - Method in interface dan200.computercraft.api.network.PacketNetwork
-
Remove a receiver from the network.
- Rendering the upgrade - Section in interface dan200.computercraft.api.turtle.ITurtleUpgrade
- replyChannel() - Method in record class dan200.computercraft.api.network.Packet
-
Returns the value of the
replyChannelrecord component. - requireMod(String) - Method in record class dan200.computercraft.api.upgrades.UpgradeDataProvider.Upgrade
-
Return a new
UpgradeDataProvider.Upgradewhich requires the given mod to be present. - RIGHT - Enum constant in enum class dan200.computercraft.api.turtle.TurtleSide
-
The turtle's right side (where the modem usually is on a Wireless Mining Turtle).
- run(CachedOutput) - Method in class dan200.computercraft.api.upgrades.UpgradeDataProvider
S
- sender() - Method in record class dan200.computercraft.api.network.Packet
-
Returns the value of the
senderrecord component. - serialise() - Method in record class dan200.computercraft.api.upgrades.UpgradeDataProvider.Upgrade
-
Returns the value of the
serialiserecord component. - serialiser() - Method in record class dan200.computercraft.api.upgrades.UpgradeDataProvider.Upgrade
-
Returns the value of the
serialiserrecord component. - setColour(int) - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Set the colour of the pocket computer to a RGB number.
- setColour(int) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Set the colour of the turtle to a RGB number.
- setDirection(Direction) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Set the direction the turtle is facing.
- setFuelLevel(int) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Set the fuel level to a new value.
- setLabel(ItemStack, String) - Method in interface dan200.computercraft.api.media.IMedia
-
Set a string representing the label of this item.
- setLight(int) - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Set the colour of the pocket computer's light to a RGB number.
- setSelectedSlot(int) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Set the currently selected slot in the turtle's inventory.
- setUpgrade(TurtleSide, ITurtleUpgrade) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Deprecated.
- setUpgrade(UpgradeData) - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Set the upgrade for this pocket computer, also updating the item stack.
- setUpgradeWithData(TurtleSide, UpgradeData) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Set the upgrade for a given side and its upgrade data.
- SHORT_WAIT - Enum constant in enum class dan200.computercraft.api.turtle.TurtleAnimation
-
Wait until the animation has finished, performing no movement.
- sided(ModelResourceLocation, ModelResourceLocation) - Static method in interface dan200.computercraft.api.client.turtle.TurtleUpgradeModeller
-
Construct a
TurtleUpgradeModellerwhich has a single model for the left and right side. - sided(ResourceLocation, ResourceLocation) - Static method in interface dan200.computercraft.api.client.turtle.TurtleUpgradeModeller
-
Construct a
TurtleUpgradeModellerwhich has a single model for the left and right side. - simple(Function) - Static method in interface dan200.computercraft.api.pocket.PocketUpgradeSerialiser
-
Create an upgrade serialiser for a simple upgrade.
- simple(Function) - Static method in interface dan200.computercraft.api.turtle.TurtleUpgradeSerialiser
-
Create an upgrade serialiser for a simple upgrade.
- simple(ResourceLocation, R) - Method in class dan200.computercraft.api.upgrades.UpgradeDataProvider
-
Register an upgrade using a "simple" serialiser (e.g.
- simpleWithCustomItem(BiFunction) - Static method in interface dan200.computercraft.api.pocket.PocketUpgradeSerialiser
-
Create an upgrade serialiser for a simple upgrade whose crafting item can be specified.
- simpleWithCustomItem(BiFunction) - Static method in interface dan200.computercraft.api.turtle.TurtleUpgradeSerialiser
-
Create an upgrade serialiser for a simple upgrade whose crafting item can be specified.
- simpleWithCustomItem(ResourceLocation, R, Item) - Method in class dan200.computercraft.api.upgrades.UpgradeDataProvider
-
Register an upgrade using a "simple" serialiser (e.g.
- state() - Method in record class dan200.computercraft.api.detail.BlockReference
-
Returns the value of the
staterecord component. - success() - Static method in class dan200.computercraft.api.turtle.TurtleCommandResult
-
Create a successful command result with no result.
- success(Object[]) - Static method in class dan200.computercraft.api.turtle.TurtleCommandResult
-
Create a successful command result with the given result values.
- SWING_LEFT_TOOL - Enum constant in enum class dan200.computercraft.api.turtle.TurtleAnimation
-
Swing the tool on the left.
- SWING_RIGHT_TOOL - Enum constant in enum class dan200.computercraft.api.turtle.TurtleAnimation
-
Swing the tool on the right.
T
- teleportTo(Level, BlockPos) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Attempt to move this turtle to a new position.
- toNetwork(FriendlyByteBuf, T) - Method in interface dan200.computercraft.api.upgrades.UpgradeSerialiser
-
Write this upgrade to a network packet, to be sent to the client.
- tool(ResourceLocation, Item) - Method in class dan200.computercraft.api.turtle.TurtleUpgradeDataProvider
-
Create a new turtle tool upgrade, such as a pickaxe or shovel.
- TOOL - Enum constant in enum class dan200.computercraft.api.turtle.TurtleUpgradeType
-
A tool is rendered as an item on the side of the turtle, and responds to the
turtle.dig()andturtle.attack()methods (Such as pickaxe or sword on Mining and Melee turtles). - toString() - Method in class dan200.computercraft.api.component.ComputerComponent
- toString() - Method in record class dan200.computercraft.api.detail.BlockReference
-
Returns a string representation of this record class.
- toString() - Method in record class dan200.computercraft.api.network.Packet
-
Returns a string representation of this record class.
- toString() - Method in record class dan200.computercraft.api.upgrades.UpgradeData
-
Returns a string representation of this record class.
- toString() - Method in record class dan200.computercraft.api.upgrades.UpgradeDataProvider.Upgrade
-
Returns a string representation of this record class.
- TransformedModel - Class in dan200.computercraft.api.client
-
A model to render, combined with a transformation matrix to apply.
- TransformedModel(BakedModel) - Constructor for class dan200.computercraft.api.client.TransformedModel
- TransformedModel(BakedModel, Transformation) - Constructor for class dan200.computercraft.api.client.TransformedModel
- transmitInterdimensional(Packet) - Method in interface dan200.computercraft.api.network.PacketNetwork
-
Submit a packet for transmitting across the network.
- transmitSameDimension(Packet, double) - Method in interface dan200.computercraft.api.network.PacketNetwork
-
Submit a packet for transmitting across the network.
- TURN_LEFT - Enum constant in enum class dan200.computercraft.api.turtle.TurtleAnimation
-
Turn the turtle to the left.
- TURN_RIGHT - Enum constant in enum class dan200.computercraft.api.turtle.TurtleAnimation
-
Turn the turtle to the left.
- TURTLE - Static variable in class dan200.computercraft.api.component.ComputerComponents
-
The
ITurtleAccessassociated with a turtle. - TURTLE - Static variable in class dan200.computercraft.api.ComputerCraftTags.Blocks
-
All turtles.
- TURTLE - Static variable in class dan200.computercraft.api.ComputerCraftTags.Items
-
All turtles.
- TURTLE_ALWAYS_BREAKABLE - Static variable in class dan200.computercraft.api.ComputerCraftTags.Blocks
-
Blocks which can be broken by any turtle tool.
- TURTLE_CAN_PLACE - Static variable in class dan200.computercraft.api.ComputerCraftTags.Items
-
Items which can be used when calling
turtle.place(). - TURTLE_CAN_USE - Static variable in class dan200.computercraft.api.ComputerCraftTags.Blocks
-
Block which can be used when calling
turtle.place(). - TURTLE_HOE_BREAKABLE - Static variable in class dan200.computercraft.api.ComputerCraftTags.Blocks
-
Blocks which can be broken with the default hoe tool.
- TURTLE_SHOVEL_BREAKABLE - Static variable in class dan200.computercraft.api.ComputerCraftTags.Blocks
-
Blocks which can be broken by the default shovel tool.
- TURTLE_SWORD_BREAKABLE - Static variable in class dan200.computercraft.api.ComputerCraftTags.Blocks
-
Blocks which can be broken with the default sword tool.
- TurtleAnimation - Enum Class in dan200.computercraft.api.turtle
-
An animation a turtle will play between executing commands.
- TurtleCommand - Interface in dan200.computercraft.api.turtle
-
An interface for objects executing custom turtle commands, used with
ITurtleAccess.executeCommand(TurtleCommand). - TurtleCommandResult - Class in dan200.computercraft.api.turtle
-
Used to indicate the result of executing a turtle command.
- TurtleRefuelHandler - Interface in dan200.computercraft.api.turtle
-
A function called when a turtle attempts to refuel via
turtle.refuel(). - TurtleSide - Enum Class in dan200.computercraft.api.turtle
-
An enum representing the two sides of the turtle that a turtle upgrade might reside.
- TurtleToolDurability - Enum Class in dan200.computercraft.api.turtle
-
Indicates if an equipped turtle item will consume durability.
- TurtleUpgradeDataProvider - Class in dan200.computercraft.api.turtle
-
A data provider to generate turtle upgrades.
- TurtleUpgradeDataProvider(PackOutput) - Constructor for class dan200.computercraft.api.turtle.TurtleUpgradeDataProvider
- TurtleUpgradeDataProvider.ToolBuilder - Class in dan200.computercraft.api.turtle
-
A builder for custom turtle tool upgrades.
- TurtleUpgradeModeller<T> - Interface in dan200.computercraft.api.client.turtle
-
Provides models for a
ITurtleUpgrade. - TurtleUpgradeSerialiser<T> - Interface in dan200.computercraft.api.turtle
-
Reads a
ITurtleUpgradefrom disk and reads/writes it to a network packet. - TurtleUpgradeType - Enum Class in dan200.computercraft.api.turtle
-
An enum representing the different types of turtle that an
ITurtleUpgradeimplementation can add to a turtle. - TurtleVerb - Enum Class in dan200.computercraft.api.turtle
-
An enum representing the different actions that an
ITurtleUpgradeof type Tool may be called on to perform by a turtle.
U
- update(IPocketAccess, IPeripheral) - Method in interface dan200.computercraft.api.pocket.IPocketUpgrade
-
Called when the pocket computer item stack updates.
- update(ITurtleAccess, TurtleSide) - Method in interface dan200.computercraft.api.turtle.ITurtleUpgrade
-
Called once per tick for each turtle which has the upgrade equipped.
- updatePeripherals(WiredNode, Map) - Method in interface dan200.computercraft.api.network.wired.WiredNetwork
-
Deprecated.
- updatePeripherals(Map) - Method in interface dan200.computercraft.api.network.wired.WiredNode
-
Mark this node's peripherals as having changed.
- updateUpgradeNBTData() - Method in interface dan200.computercraft.api.pocket.IPocketAccess
-
Mark the upgrade-specific NBT as dirty.
- updateUpgradeNBTData(TurtleSide) - Method in interface dan200.computercraft.api.turtle.ITurtleAccess
-
Mark the upgrade-specific data as dirty on a specific side.
- upgrade() - Method in record class dan200.computercraft.api.upgrades.UpgradeData
-
Returns the value of the
upgraderecord component. - Upgrade(ResourceLocation, R, Consumer) - Constructor for record class dan200.computercraft.api.upgrades.UpgradeDataProvider.Upgrade
-
Creates an instance of a
Upgraderecord class. - UpgradeBase - Interface in dan200.computercraft.api.upgrades
-
Common functionality between
ITurtleUpgradeandIPocketUpgrade. - UpgradeData<T> - Record Class in dan200.computercraft.api.upgrades
-
An upgrade (i.e.
- UpgradeData(T, CompoundTag) - Constructor for record class dan200.computercraft.api.upgrades.UpgradeData
-
Creates an instance of a
UpgradeDatarecord class. - UpgradeDataProvider<T,
R> - Class in dan200.computercraft.api.upgrades -
A data generator/provider for turtle and pocket computer upgrades.
- UpgradeDataProvider(PackOutput, String, String, ResourceKey) - Constructor for class dan200.computercraft.api.upgrades.UpgradeDataProvider
- UpgradeDataProvider.Upgrade<R> - Record Class in dan200.computercraft.api.upgrades
-
A constructed upgrade instance, produced
UpgradeDataProvider.addUpgrades(Consumer). - UpgradeSerialiser<T> - Interface in dan200.computercraft.api.upgrades
-
Base interface for upgrade serialisers.
- useTool(ITurtleAccess, TurtleSide, TurtleVerb, Direction) - Method in interface dan200.computercraft.api.turtle.ITurtleUpgrade
-
Will only be called for Tool turtle.
- Using - Section in Overview
V
- valueOf(String) - Static method in enum class dan200.computercraft.api.turtle.TurtleAnimation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dan200.computercraft.api.turtle.TurtleSide
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dan200.computercraft.api.turtle.TurtleToolDurability
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dan200.computercraft.api.turtle.TurtleUpgradeType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dan200.computercraft.api.turtle.TurtleVerb
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dan200.computercraft.api.turtle.TurtleAnimation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dan200.computercraft.api.turtle.TurtleSide
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dan200.computercraft.api.turtle.TurtleToolDurability
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dan200.computercraft.api.turtle.TurtleUpgradeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dan200.computercraft.api.turtle.TurtleVerb
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VanillaDetailRegistries - Class in dan200.computercraft.api.detail
-
DetailRegistrys for built-in Minecraft types. - VanillaDetailRegistries() - Constructor for class dan200.computercraft.api.detail.VanillaDetailRegistries
W
- WAIT - Enum constant in enum class dan200.computercraft.api.turtle.TurtleAnimation
-
Wait until the animation has finished, performing no movement.
- WHEN_ENCHANTED - Enum constant in enum class dan200.computercraft.api.turtle.TurtleToolDurability
-
The equipped tool consumes durability if it is enchanted or has custom attribute modifiers.
- WIRED_MODEM - Static variable in class dan200.computercraft.api.ComputerCraftTags.Blocks
-
All modems.
- WIRED_MODEM - Static variable in class dan200.computercraft.api.ComputerCraftTags.Items
-
All modems.
- WiredElement - Interface in dan200.computercraft.api.network.wired
-
An object which may be part of a wired network.
- WiredNetwork - Interface in dan200.computercraft.api.network.wired
-
A wired network is composed of one of more
WiredNodes, a set of connections between them, and a series of peripherals. - WiredNetworkChange - Interface in dan200.computercraft.api.network.wired
-
Represents a change to the objects on a wired network.
- WiredNode - Interface in dan200.computercraft.api.network.wired
-
Wired nodes act as a layer between
WiredElements andWiredNetworks. - WiredSender - Interface in dan200.computercraft.api.network.wired
-
An object on a
WiredNetworkcapable of sending packets.
All Classes and Interfaces|All Packages|Constant Field Values
WiredNode.connectTo(WiredNode)