You can play Barbercraft by adding the server in the Minecraft launcher.
On Minecraft Java Edition, open the Minecraft launcher. Click “Multiplayer” and then “Add Server” and enter the Barbercraft IP Address Play.mc-barbercraft.com in the “Server Address”. Then press “Done” and start playing.