I've read [this][1] but the solution doesn't work, I get: `bloc type "minecraft:bed" is unknown`.

How to circumvent this?

I'm playing Minecraft 1.13.


  [1]: https://gaming.stackexchange.com/questions/231180/minecraft-command-blocks-place-a-complete-bed-using-setblock