-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 15w46a, Minecraft 15w49b, Minecraft 16w07b, Minecraft 1.9, Minecraft 1.9.4, Minecraft 1.10 Pre-Release 1, Minecraft 16w42a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w15a, Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2, Minecraft 1.12, Minecraft 1.13.1, 1.15.2, 20w12a, 20w20b, 20w21a, 1.16 Pre-release 1, 1.16 Pre-release 3, 1.16 Pre-release 5, 1.16 Pre-release 7, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w48a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w11a, 21w16a, 1.17 Pre-release 2, 1.17, 1.17.1 Pre-release 1, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 22w43a, 1.19.3, 23w03a, 1.20.1, 23w45a, 23w46a, 1.20.3 Pre-Release 1, 1.20.3 Pre-Release 2, 1.20.3 Release Candidate 1, 1.20.3, 1.20.4 Release Candidate 1, 1.20.4, 1.20.5, 1.20.6, 1.21
-
Confirmed
-
Player
-
Low
-
Gameplay
The bug
You can sleep in a bed despite the fact that there are some hostile mobs around. The game does not display the error message "You may not rest now, there are monsters nearby".
Mobs affected
You can sleep near:
- Slimes
- Magma Cubes
- Ghasts
- Shulkers (probably intended as they don't despawn with peaceful as difficulty)
- Aggressive wolves
- Killer rabbits
- Ender dragons (see Shulker; however you cannot sleep near Withers)
- Hoglins
How to reproduce
- Try to sleep in a bed next to one of the mobs mentioned above
- You'll be able to sleep in that bed without the console issuing a "You may not rest now, there are monsters nearby" warning
- is duplicated by
-
MC-187562 doesn't send can't sleep message when slime nearby
- Resolved