NOVELTY - The device comprises: a waterspout that collects a livestock wastewater flowed in and separates scum and sludge; a drug mixing settling tank that mixes a drug transferred with a first processing water and precipitates the sludge through a chemical precipitation reaction; a floating detachment tank that separates the sludge and treats it with a second processing water transferred from the drug mixing settling tank; and a sludge thickener that puts the sludge transferred from the waterspout, the drug mixing settling tank and floating detachment tank after dividing and concentrating.    USE - The device is useful for producing biofuel from livestock wastewater solid material and waste resources such as waste wooden construction piece, thinning lumber piece, woodworking residue, rice straw piece, Ipomoea batatas stem piece, corn residue piece, red pepper stem residue piece, tobacco plant stem residue piece, coconut residue, waste paper piece, waste plastic piece, waste tire piece, waste rubber piece and waste organic matter including fish intestines, domestic animal wastes, waste lubricating oil and waste asphalt (all claimed).    ADVANTAGE - The device is capable of efficiently, economically and simply producing the biofuel from the livestock wastewater solid material and the waste resources.    DETAILED DESCRIPTION - The device comprises: a waterspout that collects a livestock wastewater flowed in and separates scum and sludge; a drug mixing settling tank that mixes a drug transferred with a first processing water and precipitates the sludge through a chemical precipitation reaction; a floating detachment tank that separates the sludge and treats it with a second processing water transferred from the drug mixing settling tank; a sludge thickener that puts the sludge transferred from the waterspout, the drug mixing settling tank and floating detachment tank after dividing and concentrating; a dehydrator that dehydrates and processes the solid sludge concentrated in the sludge thickener; a mixture tank that mixes a waste resources with the sludge solid that is dehydrated; a molder that molds the sludge complex mixed in the mixture tank to a predetermined grain shape; and a dryer that dries the shaped sludge molded product in the molder and completes the biofuel production. The waterspout comprises a vibrating screen adapted for removing the scum and installed at an upper side and an inclined plate that is installed within the livestock wastewater and precipitates the separated sludge. The drug mixing settling tank comprises a unit for mixing the drug with the first processing water carried and provided from the waterspout. A medicine tank feeds the drug in the first processing water and is installed at the drug mixing unit. An upper side of the precipitation separator precipitates the flocculated sludge from the first processing water in which the drug is mixed in the drug mixing unit. The drug supplied through the medicine tank comprises polymer coagulant. The inclined plate is equipped at an inside of the precipitation separator to precipitate the drug flocculated sludge in the floating detachment tank. A micro bubble generator is installed at an outside of the floating detachment tank and supplies the micro bubble to the floating detachment tank. The dehydration is carried out by filtration.