mojira.dev
MCPE-42913

Beds in villages spontaneously break leaving invisible partial bed

Occasionally, the head of a bed in a v2 village will spontaneously disappear leaving an invisible bed foot block behind. The bed is not dropped as an item. The foot block has a hit box and can be broken, after which you can place another bed in the same position.

This happened once as I was watching it. On other occasions it has happened both during the day and at night when the villager was sleeping in the bed; the villager in that case was popped to its feet, and from then on acted as if it could not find a bed until I placed a new bed in the same place which it found immediately, based on it emitting green particles.

I originally discovered this about 2 hours ago when the game crashed while I was AFK. When I reloaded the world, the head of the bed was gone and the foot was invisible but had a hit box.

I am attaching a test world.

Steps to reproduce:

  1. In a test world, place a bed so that it crosses a chunk boundary. It doesn't matter what orientation it is.

  2. Use a /setblock command to replace the block under the head of the bed.

Actual results:
The bed block above the replaced block breaks, leaving an unbroken and invisible bed block in the other chunk.

Expected results:
The bed is unaffected, as when the bed doesn't cross a chunk boundary. (You can also manually break and replace blocks below a bed without the bed breaking spontaneously.)

Related issues

Attachments

Comments

migrated
[media]
[Mojang] Mega_Spud (Jay)

The bed in the test world is crossing a chunk border, so I wonder if it is related to MCPE-31389, but that the bed is no longer causing a crash when broken.

Auldrick

Or not causing a crash as often...I did have a random crash just before the first time I discovered this. It hasn't crashed since though.

Edit: This only came to light since villagers gained the ability to sleep in beds, because I'm using a repeating command block to change the block beneath them. The reports in MCPE-31389 might have resulted from players manually replacing the block under the head (in the original test world, the bed was on the second floor so the block below it was the ceiling of the first floor).

Auldrick

This no longer happens as of 1.11.0.10 Beta.

Auldrick

(Unassigned)

182698

Confirmed

Windows

1803

1.11.0.3 Beta, 1.11.0.9 Beta

Retrieved