Use a hug ticket on your friend to initiate a hug request
This mod requires playerAnimator which you can download from here

How to Install HugMe (Mod)
HugMe by TunYuntuwuQWQ is verified for Neoforge across Minecraft versions 1.21, 1.21.1 (latest release: 1.3, file size: 35 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21, 1.21.1) and platform (Neoforge).
- Make sure you have the compatible loader or environment installed for Neoforge.
- Move the downloaded HugMe file into your Minecraft
.minecraft/modsfolder and launch the game.