Here are some more lego bricks and how they were created:
Using bevel, inset and extrude I created the round part:
And then I connected it to the brick by dragging some vertices.
For this Lego brick I just used inset and extrude to create a hole in the stud.
To create the next Lego part I started with a tube with the following parameters:
I then used extrude, chamfer and mirror to create the finished part.


