icbm/src/main/java/dan200/computercraft/api/turtle/TurtleUpgradeType.java

30 lines
961 B
Java
Raw Normal View History

2022-11-09 22:15:45 +01:00
/**
* This file is part of the public ComputerCraft API - http://www.computercraft.info
2022-11-09 22:16:55 +01:00
* Copyright Daniel Ratcliffe, 2011-2015. This API may be redistributed unmodified and in
* full only. For help using the API, and posting your mods, visit the forums at
* computercraft.info.
2022-11-09 22:15:45 +01:00
*/
package dan200.computercraft.api.turtle;
/**
* An enum representing the two different types of turtle that an ITurtleUpgrade
* implementation can add to a turtle.
* @see ITurtleUpgrade
*/
2022-11-09 22:16:55 +01:00
public enum TurtleUpgradeType {
/**
* A tool is rendered as an item on the side of the turtle, and responds to the
* turtle.dig() and turtle.attack() methods (Such as pickaxe or sword on Mining and
* Melee turtles).
*/
Tool,
/**
* A peripheral adds a special peripheral which is attached to the side of the turtle,
* and can be interacted with the peripheral API (Such as the modem on Wireless
* Turtles).
*/
Peripheral,
2022-11-09 22:15:45 +01:00
}