FireplaceMode is a gamerule which disables the save button if the player is not close to a campfire.
This mod is developed for Fabric.
There are no plans to develop a Forge version.
Feel free to use it in any modpacks
Just report bugs at the github page