How can I get a villager to keep lying down?
I want to have a villager that keeps lying in bed, even when it's day. I tried with barrier blocks but when the villager stands up he just suffocates. With other blocks, like trapdoors, he just stands up and his head glitches in the trapdoor without dying. I want him to keep lying down tho.
Is there any way I can do this? I'm playing on java 1.21.1 in creative (with cheats enabled).
Is there any way I can do this? I'm playing on java 1.21.1 in creative (with cheats enabled).
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
> `/summon villager ~ ~ ~ {NoAI:1b,sleeping_pos:[I;x,y,z]}`
Alternatively mess around with the \`/data\` command to lock their AI or use structure blocks to keep respawning them in the lying position, though that's probably overkill for what you're doing