Description:
** When you place a Soul Lantern with the /setblock of /fill command under a block, it doesn't connect to it.
How to recreate:
1. Get a soul Lantern
[media]
2. Place 3 blocks and remove the first 2
[media]3. Place a Soul Lantern under the block. as you can see, it connects to the block
[media]
4. Use a setblock command like this
[media]5. As you can see, after the setblock command the Lantern didn't connect to the block
[media]
Try: `setblock ~ ~ ~ minecraft:lantern[hanging=true]`
This is working as intended. setblock does not care about whether or not the block looks valid--it will do exactly what you tell it to do.