package zmaster587.advancedRocketry.block;

import zmaster587.advancedRocketry.api.IMiningDrill;
import zmaster587.advancedRocketry.tile.TileDrill;
import zmaster587.libVulpes.block.BlockTile;
import zmaster587.libVulpes.block.BlockFullyRotatable;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumHand;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;

public class BlockMiningDrill extends BlockFullyRotatable implements IMiningDrill {

	public BlockMiningDrill() {
		super(Material.ROCK);
		//super(TileDrill.class, zmaster587.libVulpes.inventory.GuiHandler.guiId.MODULAR.ordinal());
	}

	@Override
	public boolean hasTileEntity(IBlockState state) {
		return false;
	}

	@Override
	public float getMiningSpeed(World world, BlockPos pos) {
		return 0.01f;
	}

	@Override
	public boolean onBlockActivated(World world, BlockPos pos,
			IBlockState state, EntityPlayer player, EnumHand hand,
			ItemStack heldItem, EnumFacing side, float hitX, float hitY,
			float hitZ) {
		// TODO Auto-generated method stub
		return super.onBlockActivated(world, pos, state, player, hand, heldItem, side,
				hitX, hitY, hitZ);
	}

	@Override
	public int powerConsumption() {
		return 0;
	}

}

@@ -965,16 +965,95 @@
 %09%09return
+ world.isAirBlock(pos.add(0,1,0)) && world.isAirBlock(pos.add(0,2,0)) ? 0.02f :
  0.01f;%0A

Make drill on top have double power