Example #1
0
 @Override
 public Block setY(int y) {
   SpoutBlock sb = this.clone();
   sb.y = y;
   sb.chunk = null;
   return sb;
 }
Example #2
0
 @Override
 public Block translate(int dx, int dy, int dz) {
   SpoutBlock sb = this.clone();
   sb.x += dx;
   sb.y += dy;
   sb.z += dz;
   sb.chunk = null;
   return sb;
 }