It works by assigning blocks, actions and entities comfort points which are all summed up to a total amount in a configurable radius around the player. If the total of these points reach a configurable treshold buffs can be applied through either negating or adding potion effects to the player whilst the player is in the comfort zone
For example, if a player places down 2 bookshelves (2pt), has a tamed cat(3pt), a fireplace(requirement) and a I&F dragon skull(8pt) the total would be 13 points. This would activate comfort level 1 set at 10 points and give e.g. speed debuff and negate blindness in a radius of 3x3 chunks.
Each aspect of the above and more is configurable, for one you can also pet cats and get a temporary comfort boost, you can make it so the dragon skull needs a NBT string {type:2} or you can make it so your cat needs to be of the tuxedo kind. You can also choose to add a gorgon from the mod ice and fire and name it "wife" or "girlfriend" for 10 additional points!
I really let scope creep get the better of me and more is planned, such as having certain consumables increase comfort level.
https://github.com/NLBlackEagle/ChunkComfort/tree/main/configurations/RLCraft%20Dregora
Message pop-up right corner with per-level customizable entries.

Hover-over tooltip in inventory screen displaying comfort points, points to next level, positive added potion effects and substracted bad effects.

JEI support - comfort entry tooltips, for entities hover over their spawneggs.

Petting your pet animal to gain more comfort points:

Comfort feedback on placement (This adds comfort!)
Customizable wake-up messages (dependent on comfort level):
Requirements not met? No comfort.
Tested with 220+ mods, drink all the rustic wine you like, it wont extend comfort effects!