mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-15 12:40:30 +00:00
Update TurtleAPI.java
Fixed `turtle.detectUp` & `turtle.detectDown` doc
This commit is contained in:
parent
5d7cbc8c64
commit
d6751b8e3d
@ -372,7 +372,7 @@ public class TurtleAPI implements ILuaAPI {
|
|||||||
* Check if there is a solid block above the turtle. In this case, solid refers to any non-air or liquid block.
|
* Check if there is a solid block above the turtle. In this case, solid refers to any non-air or liquid block.
|
||||||
*
|
*
|
||||||
* @return The turtle command result.
|
* @return The turtle command result.
|
||||||
* @cc.treturn boolean If there is a solid block in front.
|
* @cc.treturn boolean If there is a solid block above.
|
||||||
*/
|
*/
|
||||||
@LuaFunction
|
@LuaFunction
|
||||||
public final MethodResult detectUp() {
|
public final MethodResult detectUp() {
|
||||||
@ -383,7 +383,7 @@ public class TurtleAPI implements ILuaAPI {
|
|||||||
* Check if there is a solid block below the turtle. In this case, solid refers to any non-air or liquid block.
|
* Check if there is a solid block below the turtle. In this case, solid refers to any non-air or liquid block.
|
||||||
*
|
*
|
||||||
* @return The turtle command result.
|
* @return The turtle command result.
|
||||||
* @cc.treturn boolean If there is a solid block in front.
|
* @cc.treturn boolean If there is a solid block below.
|
||||||
*/
|
*/
|
||||||
@LuaFunction
|
@LuaFunction
|
||||||
public final MethodResult detectDown() {
|
public final MethodResult detectDown() {
|
||||||
|
Loading…
Reference in New Issue
Block a user