public interface ITurtleCommand
Modifier and Type | Method and Description |
---|---|
TurtleCommandResult |
execute(ITurtleAccess turtle)
Will be called by the turtle on the main thread when it is time to execute the custom command.
|
TurtleCommandResult execute(ITurtleAccess turtle)
turtle
- access to the turtle for whom the command was issuedITurtleAccess.executeCommand(dan200.computercraft.api.lua.ILuaContext,ITurtleCommand)
,
TurtleCommandResult