mojira.dev
MC-167416

Distance from where a monster will stop you from sleeping is off center

The bug

A hostile mob standing 8 blocks away from a bed (square radius) in the North/West direction (negative coordinates) will stop you from sleeping in a bed, but in the South/East direction (positive coordinates) the distance is 7 blocks

If any zombie moves forward from the green Emerald block to any red Redstone block, the player will not be able to sleep and will receive the message "You may not rest now; there are monsters nearby"

The fix

The distance in the South/East direction (positive coordinates) should be increased to 8 blocks to be made consistent with the North/West distance.

Linked issues

Attachments

Comments 1

RedCMD

slicedlime

Confirmed

Normal

Player

block, mob

1.14.4, 1.15 Pre-release 7

1.15.2 Pre-Release 1

Retrieved