Modification of HomewardBone will be able to add a magic bone for you, with which you will be able to return home at any time. Simply press the right mouse button, holding it in your hands. Keep in mind, it acts only once and disappears.
How to install HomewardBone Mod
- For fabric version: Download and install Fabric and Fabric API
- Download mod
- Do not unzip it, copy to C:\Users\User_Name\AppData\ Roaming\.minecraft\mods