They did the same thing in Australia after the Port Arthur massacre. They banned high powered semi autos.
The reason Martin Bryant (Port Arthur shooter) killed so many people is directly related to the type of weapons he used, that being a semi automatics. Had he had bolt action rifles with 5 round magazines, not as many people would have died.
Farmers, recreational shooters, sports shooters can still shoot and own guns. They just can't own guns that have the capability of killing LOTS of people quickly. The only members of society that can carry those weapons are law enforcement and military.
FWIW, there hasn't been a mass shooting in Australia since these measures were introduced and people still own guns. Just not the rapid firing kind.