2

I have this command:

/summon minecraft:armor_stand 172.5 56.5 -242.5 {Invisible:1b,Invulnerable:1b,NoGravity:1b,Passengers:[{id:"minecraft:falling_block",BlockState:{Name:"minecraft:rail"},NoGravity:1b,Time:-2147483648}]}

I need to figure out how to make it so that the rail is facing east, rather than south. I can not seem to figure this out at all. Somebody told me I could add 'Data:2' at the end but that didn't work, I even tried placing [facing=east] inside the Name:"minecraft:rail" tag. Nothing seems to work for me and I can't find anybody having the same problem.

Ps. I am on Minecraft 1.16.5

1 Answer 1

1
  1. The correct block state for an east-west facing rail is shape=east_west, not facing=east
  2. Block states in Falling Sand go in the Properties subtag, not as part of the Name subtag.

The correct command to summon a rail facing east is:

/summon minecraft:armor_stand ~ ~ ~ {Invisible:1b,Invulnerable:1b,NoGravity:1b,Passengers:[{id:"minecraft:falling_block",BlockState:{Name:"minecraft:rail",Properties:{"shape":"east_west"}},NoGravity:1b,Time:-2147483648}]}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .