@Override
public void doLogic(int delta, Chunk prevChunk, Chunk currChunk, Chunk nextChunk) {
// TODO Auto-generated method stub
y = y+ySpeed*delta;
mask = new Rectangle((float)(x), (float)(y), (float)BlockSand.WIDTH, (float)BlockSand.WIDTH);
Block b2 = Utils.pointToBlock(x, y+16);
if ((b2==null) || (b2.type != BlockType.air && b2.type != BlockType.water)){
//Change current block to block sand
Block b = new BlockSand();
b.durability = durability;