mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-31 05:33:00 +00:00 
			
		
		
		
	Write an introduction to the turtle API
It's better at least, I just don't know if it's good.
This commit is contained in:
		| @@ -22,7 +22,7 @@ import dan200.computercraft.core.computer.ComputerSide; | ||||
|  * as those from Project:Red. These allow you to send 16 separate on/off signals. Each channel corresponds to a | ||||
|  * colour, with the first being @{colors.white} and the last @{colors.black}. | ||||
|  * | ||||
|  * Whenever a redstone input changes, a {@code redstone} event will be fired. This may be used instead of repeativly | ||||
|  * Whenever a redstone input changes, a @{event!redstone} event will be fired. This may be used instead of repeativly | ||||
|  * polling. | ||||
|  * | ||||
|  * This module may also be referred to as {@code rs}. For example, one may call {@code rs.getSides()} instead of | ||||
|   | ||||
| @@ -25,10 +25,9 @@ import java.util.Map; | ||||
| import java.util.Optional; | ||||
| 
 | ||||
| /** | ||||
|  * The turtle API allows you to control your turtle. | ||||
|  * Doc stub. Exists in turtle.lua instead. | ||||
|  * | ||||
|  * @cc.module turtle | ||||
|  * @cc.since 1.3 | ||||
|  */ | ||||
| public class TurtleAPI implements ILuaAPI | ||||
| { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jonathan Coates
					Jonathan Coates