Difference between revisions of "Disk Drive"
(Add note about disk and disk_eject events being fired.) |
MKlegoman357 (Talk | contribs) (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= | + | |id=ComputerCraft:CC-Peripheral |
− | |damage-value= | + | |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+ | + | 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
Disk Drive | |
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.
Contents
Recipe
Usage
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.
ComputerCraft Blocks and Items | |||
Blocks | |||
Computer | Advanced Computer | Command Computer | Disk Drive |
Monitor | Advanced Monitor | Printer | Turtle |
Wireless Modem | Ender Modem | Wired Modem | Networking Cable |
Items | |||
Pocket Computer | Advanced Pocket Computer | Floppy Disk | Printed Page |
Printed Pages | Printed Book |