Objectpi.tool.Turtle
public class Turtle
A turtle that can be used for shouldPlaceBlock
Constructor Summary | |
---|---|
Turtle(Minecraft mc)
|
Method Summary | |
---|---|
Turtle |
around()
Turn 180 degrees |
Turtle |
back(int steps)
|
Turtle |
block(Block block)
|
Turtle |
down(int steps)
|
Turtle |
forward(int steps)
|
Turtle |
home()
Move the turtle to setHome with default orientation |
Turtle |
jump(int dx,
int dy,
int dz)
Jump without placing blocks |
Turtle |
left()
Turn 90 degrees CCW |
Turtle |
off()
Stop shouldPlaceBlock |
Turtle |
on()
Start shouldPlaceBlock |
Turtle |
right()
Turn 90 degrees CW |
Turtle |
setHome(Vec home)
Set the turtle setHome pos |
Turtle |
up(int steps)
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Turtle(Minecraft mc)
Method Detail |
---|
public Turtle setHome(Vec home)
public Turtle home()
public Turtle on()
public Turtle off()
public Turtle block(Block block)
public Turtle jump(int dx, int dy, int dz)
public Turtle left()
public Turtle right()
public Turtle around()
public Turtle forward(int steps)
public Turtle back(int steps)
public Turtle up(int steps)
public Turtle down(int steps)