I need to use a command block
to activate a lever
in Bedrock edition. I thought I could use /setblock
but the syntax for Bedrock edition doesn't seem to support it:
/setblock <position> <tileName> [tileData] [replace¦destroy¦keep]
I ran into a similar issue with trying to set the state of a redstone lamp
recently and discovered that we've been provided with a lit redstone lamp
object to use instead. However, no such variant exists for the lever:
How can I activate a lever with a command block in Bedrock edition?