Example #1
0
 @Override
 public Block setX(int x) {
   SpoutBlock sb = this.clone();
   sb.x = x;
   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;
 }