mojira.dev
MC-313474

Adding non-bed blocks to #villagers_can_sleep_on_bed crashes the game on POI validation

When a block that does not have the occupied block state property, such as a composter or another villager job site block, is added to the minecraft:villagers_can_sleep_on_bed block tag via a data pack, the game crashes.


Steps to reproduce

  • Create a new creative world with the attached data pack enabled

  • Place a composter on the ground.

  • Spawn a villager next to the composter during the day.

  • Wait a few seconds for the villager to claim the composter as a job site.


Observed results: the game immediately crashes with a ticking entity error.

Expected results: the game does not crash when a block without the occupied block state property is included in the minecraft:villagers_can_sleep_on_bed block tag.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media]

BugTracker - BugTX

(Unassigned)

Unconfirmed

26.3, 26.4 Snapshot 10

Retrieved