public void onUse(ItemStack s, Entity owner, int x, int y, World lvl)
    {
	    AABB aabb = new AABB(x*Block.BLOCK_WIDTH,y*Block.BLOCK_HEIGHT,Block.BLOCK_WIDTH, Block.BLOCK_HEIGHT);
	    if((lvl.getEntitiesInAABB(aabb, null).size() == 0 || !block.isSolid()) && Block.getBlock(lvl.getBlockAt(x, y)) != block && Block.getBlock(lvl.getBlockAt(x, y)).canBlockBeReplaced(x, y, lvl, block))
	    {
	        lvl.setBlock(x,y,block.getBlockName());
	        if(owner instanceof EntityPlayer)
	        {
	            block.onBlockAdded(lvl, (EntityPlayer) owner, x, y);
	            s.nbr--;
	        }
	    }
    }