You can play Hatrex 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 Hatrex IP Address play.hatrex.net in the “Server Address”. Then press “Done” and start playing.