pi.tool
Class Turtle

Object
  extended by pi.tool.Turtle

public class Turtle
extends Object

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

Turtle

public Turtle(Minecraft mc)
Method Detail

setHome

public Turtle setHome(Vec home)
Set the turtle setHome pos


home

public Turtle home()
Move the turtle to setHome with default orientation


on

public Turtle on()
Start shouldPlaceBlock


off

public Turtle off()
Stop shouldPlaceBlock


block

public Turtle block(Block block)

jump

public Turtle jump(int dx,
                   int dy,
                   int dz)
Jump without placing blocks


left

public Turtle left()
Turn 90 degrees CCW


right

public Turtle right()
Turn 90 degrees CW


around

public Turtle around()
Turn 180 degrees


forward

public Turtle forward(int steps)

back

public Turtle back(int steps)

up

public Turtle up(int steps)

down

public Turtle down(int steps)