mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-21 08:57:38 +00:00

* Updated (C) * Fixed Whitespace bugs, bugs, and more bugs * Fixed Whitespaces 1/2 * Fixed Whitespaces 2/2 * Fixed Whitespaces 3/2
30 lines
911 B
Java
30 lines
911 B
Java
/*
|
|
* This file is part of the public ComputerCraft API - http://www.computercraft.info
|
|
* Copyright Daniel Ratcliffe, 2011-2017. 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.
|
|
*/
|
|
|
|
package dan200.computercraft.api.turtle;
|
|
|
|
import net.minecraft.util.EnumFacing;
|
|
|
|
/**
|
|
* An enum representing the different actions that an {@link ITurtleUpgrade} of type Tool may be called on to perform by
|
|
* a turtle.
|
|
*
|
|
* @see ITurtleUpgrade#getType()
|
|
* @see ITurtleUpgrade#useTool(ITurtleAccess, TurtleSide, TurtleVerb, EnumFacing)
|
|
*/
|
|
public enum TurtleVerb
|
|
{
|
|
/**
|
|
* The turtle called {@code turtle.dig()}, {@code turtle.digUp()} or {@code turtle.digDown()}
|
|
*/
|
|
Dig,
|
|
|
|
/**
|
|
* The turtle called {@code turtle.attack()}, {@code turtle.attackUp()} or {@code turtle.attackDown()}
|
|
*/
|
|
Attack,
|
|
}
|