Bed Patch is a small server mod that fixes the long standing vanilla bug that sometimes causes a player to get stuck in bed after teleporting or changing dimensions. When this happens you have no choice but to exit the game to get your character out of bed. This bug appears to have existed since at least 1.10.2.
Other mods like Bed Bugs have attempted to work around this issue by giving the player way to kick themselves back to the main menu. This saves time because Minecraft doesn't need to be restarted, but it doesn't fix the actual bug.
Bed Patch fixes the actual issue that causes the problem, preventing the player from getting stuck in the bed at all.
It is available for 1.10.2, 1.11.2, and 1.12.2. If you need it for a different version of Minecraft, let me know and I'll see what I can do.
This mod is only needed on the server, but installing it on a client will not cause any issues.
NOTE: This is a coremod that patches vanilla Minecraft code. Because of this it is possible that it may have conflicts with other mods!
Known Incompatible Mods:
- Cubic Chunks
For an in depth description of the source of the issue and what Bed Patch does to fix it, look here:
https://gist.github.com/Mordenkainen/c5b1f16acb4fdafe8b29f591ae2bf09c
Hello Morden,
Could you make this mod for version 1.7.10, a version which is played most mods on.. :)
Thanks..
Can you make this for 1.14 for both forge and fabric its ok if you just want forge
Since this is a coremod, could it potentially cause permanent damage/corruption to a world?
Yes. I also submitted the fix to Forge.
If running a recent Forge you don't need this fix, it's built in.
In reply to Mordenkainen3141:
I'd edit the description of the mod so it is more visible. This will be lost in the comment chain once enough people comment, and many don't check the comments that much as far as I know.
Thanks for posting the comment though, and though I don't need this mod anymore, thanks for making it.
Also, just to be sure, how recent exactly?
In reply to Mordenkainen3141:
In reply to Mordenkainen3141:
In reply to Forge_User_82971761:
Same, still happens for me in 2826
In reply to InsaneGames_:
Still happens in 1.12.2 - 14.23.5.2847.
Didn't this bug been fixed by Forge?
You Are the best modder Boyyyyy
Hello, I installed this in my 1.10.2. I had a lot of trouble with getting stuck in bed because I teleport with journey maps, and now I also added the mod "Simple teleporters" that will also cause "getting stuck in bed" and other related bugs.
However I am having other problems now. I am not sure of the cause, but I am now unable to interact with inventories after teleporting with Simple teleporters. It was fine all yesterday, but today I started running into this bug all of a sudden. Placing down a block or harvesting some cotton (mod) temporarily makes me able to interact with chests and inventories again, but only for a few seconds (not sure if time based or location based, probably the latter)
I suspect this is related to the player location stored stuff that this mod messes with. any ideas?
Anyone else having trouble with inventories?
In reply to Forge_User_62203965:
Do you know which mods are incompatible with Bed Patch?
None known thus far. no guarantees but I have the code running on sprout (it is part of the pack in SproutPatcher) and on a project ozone lite so far.
Finally!
Bed Patch > Bed Bugs. This should be in every modpack from now on.