Memory Foam
This mod is a simple yet interesting addition that activates potion effects when the player uses certain types of beds. Currently, it's a demonstration version: when waking up in the Handcrafted Fancy Bed, you receive 15 seconds of regeneration.
Future updates plan to make the mod independent of other modifications and add configuration capabilities. This will allow server owners and modpack creators to assign various effects depending on the type of bed the player sleeps in.
Developers also promise to port the mod to other mod loaders and Minecraft versions.
Installation and Technical Details
Requires Handcrafted version 3.0.6 or higher for Forge 1.20.1.
It's important to note that the mod is completely server-side—this means it only works on the server side and doesn't require installation on the client.
Memory Foam is distributed under the MIT license, which allows free use and modification provided that authorship is credited.