Affects Version/s: 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, 20w12a
Fix Version/s: None
What I expected to happen was...:
The game to issue a You may not rest now, there are monsters nearby warning while attempting to sleep near Slimes, Magma Cubes and Ghasts since they're classified as Hostile/Monsters.
What actually happened was...:
You can sleep near
- Magma Cubes
- 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)
Steps to Reproduce:
1. Sleep in a bed next to a Slime, Magma Cube or Ghast.
2. You'll be able to sleep in that bed without the console issuing a You may not rest now, there are monsters nearby warning.