Isn’t that an air rifle? To me, and perhaps incorrectly, a “pellet” gun/rifle/pistol is spring driven.
Actually it is piston/spring driven. One break over cocking sets the piston.