I noticed today when trying to use the setblock command to place a lightning rod on the ground in front of me that the lightning rod is placed upside down. I have tried several data variants at the end such as (setblock ~ ~ ~ lightning_rod 1) and it still places upside down. Not sure if this is a bug or if I am doing something incorrectly, but with the new update I though I'd share. Cheers.
Linked issues
is duplicated by 1
relates to 2
Attachments
Comments 3


Affects 1.19.10

This is fixed in the current release, as block states work correctly to place lightning rods in any orientation. Was probably fixed when block states were introduced. They became mandatory in 1.19.70.
The default position is the same as with levers and item frames: attach to the block above.
The bug here is that data values are ignored, making it impossible to /setblock a lightning rod in any other position.
A workaround would be to place a lightning rod in the orientation you want, and then /clone it to the desired location instead of using /setblock.