Difference between revisions of "Disk Drive"

From ComputerCraft Wiki
Jump to: navigation, search
(Add note about disk and disk_eject events being fired.)
(Added a note about renaming with anvils. Updated/Improved.)
Line 2: Line 2:
 
|name=Disk Drive
 
|name=Disk Drive
 
|image=Iso_DiskDrive.png
 
|image=Iso_DiskDrive.png
|id=4094
+
|id=ComputerCraft:CC-Peripheral
|damage-value=Un-used.
+
|damage-value=0
 
|is-peripheral=Yes
 
|is-peripheral=Yes
 
|peripheral-api=Disk (API)
 
|peripheral-api=Disk (API)
Line 20: Line 20:
 
To use a disk drive, place it adjacently but not diagonally next to a computer (left, right, top, bottom, front, or back side). Insert a disk by right-clicking on the disk drive and placing the disk in the slot above the inventory. When a disk is inserted, a [[Disk (event)|disk]] event is fired, and when a disk is removed or ejected, a [[Disk eject (event)|disk_eject]] event is fired.
 
To use a disk drive, place it adjacently but not diagonally next to a computer (left, right, top, bottom, front, or back side). Insert a disk by right-clicking on the disk drive and placing the disk in the slot above the inventory. When a disk is inserted, a [[Disk (event)|disk]] event is fired, and when a disk is removed or ejected, a [[Disk eject (event)|disk_eject]] event is fired.
  
If you sneak and right click the disk drive with a disk/music disc in 1.4+ it will place it into it without needing to open the disk drives interface.
+
If you sneak and right click the disk drive with a disk/music disc in 1.4+ the disk will placed into the Disk Drive without needing to open the disk drives interface.
  
 
In [[ComputerCraft]] 1.6 and above, [[Pocket Computer]]s can also be inserted into a disk drive to browse their files.
 
In [[ComputerCraft]] 1.6 and above, [[Pocket Computer]]s can also be inserted into a disk drive to browse their files.
 +
 +
==Renaming with Anvils==
 +
In [[ComputerCraft]] 1.7 and above Disk Drives can be renamed using [http://minecraft.gamepedia.com/Anvil#Renaming Anvils].
  
 
== API ==
 
== API ==

Revision as of 13:07, 17 February 2015

Grid workbench.png   Disk Drive
Iso DiskDrive.png
Item ID ComputerCraft:CC-Peripheral
Damage Value 0
Peripheral? Yes- Disk (API)

The Disk Drive arrived with the ComputerCraft 1.2 update and with that also came Floppy Disks. The Disk Drive is an object that, when placed adjacently but not diagonally next to a computer, does the same as a disk drive for real computers in the real world would do: they allow the access to portable data storage devices (Floppy Disks). Since the ComputerCraft 1.6 update, both types of Pocket Computers can also be inserted into disk drives, allowing access to their files.

Recipe

stone

stone

stone

stone

Redstone

Redstone

stone

stone

stone

Disk_Drive



Usage

A 2x2 Monitor, connected to a Computer, with a Disk Drive connected.
GUI of the Disk Drive

To use a disk drive, place it adjacently but not diagonally next to a computer (left, right, top, bottom, front, or back side). Insert a disk by right-clicking on the disk drive and placing the disk in the slot above the inventory. When a disk is inserted, a disk event is fired, and when a disk is removed or ejected, a disk_eject event is fired.

If you sneak and right click the disk drive with a disk/music disc in 1.4+ the disk will placed into the Disk Drive without needing to open the disk drives interface.

In ComputerCraft 1.6 and above, Pocket Computers can also be inserted into a disk drive to browse their files.

Renaming with Anvils

In ComputerCraft 1.7 and above Disk Drives can be renamed using Anvils.

API

See Disk (API) for the disk API.

Grid Redstone.pngComputerCraft Blocks and Items
Grid paper.png  Blocks
 Iso Computer.png  Computer Iso Advanced Computer.png  Advanced Computer Iso Command Computer.png  Command Computer Iso DiskDrive.png  Disk Drive
 Iso Monitor.png  Monitor Iso Advanced Monitor.png  Advanced Monitor Iso Printer.png  Printer Grid turtle.png  Turtle
 Grid Modem.png  Wireless Modem Grid Ender Modem.png  Ender Modem Grid Wired Modem.png  Wired Modem Grid Networking Cable.png  Networking Cable
Grid paper.png  Items
 Grid Pocket Computer.png  Pocket Computer Grid Advanced Pocket Computer.png  Advanced Pocket Computer Grid disk.png  Floppy Disk Grid printed page.png  Printed Page
 Grid printed pages.png  Printed Pages Grid printed book .png  Printed Book