This project is for the Forge mod loader. To see its counterpart for the Fabric mod loader, please go here.
Comforts is a mod that adds sleeping bags and hammocks to Minecraft. These items can be used just like beds except they do not set a player's spawn point on use, safely preserving a player's spawn point at their home base. Just like beds, they also come in 16 different colors! The difference is that sleeping bags can be stacked and are more convenient to use on adventures and hammocks are like an inverse bed, turning day to night.
Features
Sleeping Bag
The recipe for the sleeping bag is simply three pieces of matching color wool in a straight line.
You can also dye a regular White Sleeping Bag into any of the other colors!
Hammock
The recipe for the hammock cloth is simply a piece of colored wool in the center, sticks to the top and bottom, and the rest of the slots are strings.
You can also dye a regular White Hammock Cloth into any of the other colors!
Please refer to this guide for instructions on how to build the hammock.
Configuration Options
- Auto-Use Sleeping Bag
- Well-Rested Mechanic
- Sleepiness Factor
- Hammocks at Night
- Sleeping Bag Break Chance
- Sleeping Bag Debuffs
- Insulated Sleeping Bags
Support
Please report all bugs, issues, and feature requests to the issue tracker.
For non-technical support and questions, join the developer's Discord.
License
All source code and assets are licensed under LGPL 3.0.
Donations
Donations to the developer can be sent through Ko-fi.
Can I use your project in my mod package? Thanks
In reply to jecaua123:
Yes.
1.12.2?
In reply to RedMushy_YT:
Why? 1.12.2 was released 5 years ago.just use 1.16.5+
In reply to pifase:
Most of the classical mods stopped updating since. Like Portal Gun and several others still haven't gotten to 1.16 yet. That or they also have a 1.12 version.
This mod made my top 5 quality of life mods for Minecraft video below:
I have been using this on every version of MC we play for quite a while, but suddenly the 1.12 version isn't working. We lay on the sleeping bag & it resets our spawn point plus we can't get back off the sleeping back. We are stuck & can't even exit the game normally. Anyone else having issues with the 1.12 version? Any tips to fix it? Thanks!
Edit: Got it fixed. It was a conflict with Let Me Sleep, which we had just recently added. Thanks for an awesome mod!
crashes when breaking a sleeping bag in creative [NoSuchField error on 1.18.2]
In reply to brass_mccrafty:
Please report all crashes to the issue tracker along with the crash report.
What happened to the 1.18.1 Version of the download file?
In reply to betaloaf:
What do you mean? The 1.18.1 version is right here.
Random question, does the hammock reset your insomnia? Like can I use the hammock to skip 3 days for phantoms to spawn?.
These items are great ideas, but I don't like the recipes. The recipe for the sleeping bag makes it pointless, the rope&nail is too tedious, and the hammock recipe just doesn't make sense to me. A mod to queue spawn saves and default back when a bed is lost would work better than having a separate item. So that benefit of the sleeping bag doesn't save it for me.
I do like the idea of having a sleeping bag cheaper than a bed that doesn't save spawn though. It's just that wood is so cheap there's no point in not just making a bed if I have the wool. If it could be made with leather or plant fibers there'd be an incentive to make one when there's no wool available.
Leather is fairly cheap given leather can easily be gathered from spawning Wandering Trader Llamas. Grass and the wheat from their seeds would be a good option for plant fiber, but wheat seems way too cheap, and hay bales seems too expensive to me. An alternative might be adding an item such as "straw" craftable with 6 wheat or grass. Which could also be used for the hammock. You could even add aesthetic variants for all 3 if you wanted; wool, leather, and straw.
The "string" already works as rope, so I think having a rope item is pointless. Especially considering you make the rope twice; both in the hammock creation and the stake creation. If it were me I'd take advantage of the lack of copper nuggets and just have a copper ingot make a stake; using that alone to make the gripping points for the hammock. The hammock recipe would also make more sense to me as:
string | wool/leather/straw | string
stick | wool/leather/straw | stick
string | wool/leather/straw | string
In reply to DarekThade:
Thank you for the suggestions. Although I may disagree with your points, I am grateful that you took the time to explain your thoughts.
I'm not sure I understand your point about the sleeping bags. It seems you're stating that, given wood is so cheap and plentiful, you would always make a bed over a sleeping bag given access to wool. The main benefit of the sleeping bag is that it doesn't set your spawn point, so generally you would only craft one for that purpose. If you only have beds, how would you preserve your spawn point while passing the night away from base? I think you may have touched on this when you mentioned that you'd prefer having a mod that queues spawn points instead, but that's an irrelevant point. Since this mod doesn't have that feature, the sleeping bag retains its primary purpose.
I do not want to use string as rope because the aesthetics for both are different, and I strongly prefer the aesthetics of a rope item for something like a hammock. I do wish I didn't need to make it a separate item, but the alternatives did not seem right to me.
I think I see your confusion about the hammock recipe. It seems like you're imagining that the string part of the recipe acts like a rope that attaches the hammock to the stake/nail. That's actually from the rope part from the rope and nail item. The string part of the hammock recipe is mostly filler, acting as a sort of "binding" between the wool and the two sticks used to form the edges of the main hammock piece. Conceivably, I could have just gone with the wool and two sticks and not even had the strings at all there, but I made my choice back then and I don't see a strong argument to change it when people have gotten used to it now.
In reply to TheIllusiveC4:
I don't know what Darek was going on about; the recipes seem fine.
Can villagers use these like they do regular beds? I'm trying to make it so there are no player respawn points in the world other than the one that I set
Can you add supports to Origin (Forge/Fabric)? Like, prevent avians to sleep on sleeping bags below Y86. Though resting on hammocks might be an exception.
In reply to Midget023:
Are avians prevented from sleeping on vanilla beds below Y86?
In reply to TheIllusiveC4:
Yes, if you are of the avian race, you cannot rest in bed.
Origin Screenshot: https://prnt.sc/26chzx6
Minecraft Screenshot: https://prnt.sc/26ci0th
Basically if you have the "Fresh Air" trait.
In reply to Midget023:
Ah, very interesting. Then yes, I can add support for Origin. Please file this as a new issue on the issue tracker so that I don't forget.