The bug
When loading a structure, double-blocks (blocks taking up space of two blocks) aren't loaded. This affects vanilla structures such as igloos and mansions (MC-124390 and MC-124388)
The following blocks are affected:
Doors (all variants, excluding trapdoors)(Fixed in 1.13-pre7)Beds (all variants)
Tall flowers (all variants, including large fern)(Fixed in 1.13-pre7)
How to reproduce
Install the data pack
Place a structure block and load the structure
bugtest:loadbug
→ ❌ Notice that nothing is generated. If you check the structure file contained in the data pack, you'll see that everything has been saved correctly.
Linked issues
is duplicated by 9
Attachments
Comments 18
This seems to affect all double blocks (doors, tall grass and flowers, large fern and beds). I reworked the ticket accordingly, I hope you're fine with that.
Just checked, and beds still break when loaded from structure blocks, in Minecraft release 1.13.
However, I did figure out how to use the setblock command as a work-around. I didn't understand how to modify block states in the setblock command, with the new 1.13 syntax, but now I've got it. I updated the Minecraft commands wiki to include the code: https://minecraft.gamepedia.com/Commands/setblock
Here is Cloud Wolf's video that helped me learn this: https://www.youtube.com/watch?time_continue=196&v=R3plRS5eAb4
Can confirm for Minecraft 1.14. Although you can replace a bed with two Impulse Command Blocks set to "Always Active" (so it replaces itself with a bed the second it's placed in the structure) there's no good way to have that be compatible with rotated structures.
To bypass this bug, I wrote a function that would work with rotated structures. The function detects a wool block directly next to the command block that ran the function, and then uses the relative position of that wool block to determine the direction of the bed, and the color of the wool block to determine the color of the bed. I used about 260 lines of code to make sure it had a setblock for the head and foot of each color of bed in each rotation.
Can Confirm. Doors do not load, but they do save.