I am trying to make a lever that can be turned off when you enable a command block when I tried this command: setblock -131 34 145 lever[powered=false] it says "There is no block named minecraft:lever[powered=false]"
I am trying this in 1.12.2, if this command does not work in this version then can you tell me what command works?
You have to change the last number for the facing direction:
Lever off:
0: Lever on block bottom points east when off.
1: Lever on block side facing east
2: Lever on block side facing west
3: Lever on block side facing south
4: Lever on block side facing north
5: Lever on block top points south when off.
6: Lever on block top points east when off.
7: Lever on block bottom points south when off.
Lever on:
8: Lever on block bottom points east when on.
9: Lever on block side facing east
10: Lever on block side facing west
11: Lever on block side facing south
12: Lever on block side facing north
13: Lever on block top points south when on.
14: Lever on block top points east when on.
15: Lever on block bottom points south when on.
I am trying to make a lever that can be turned off when you enable a command block when I tried this command: setblock -131 34 145 lever[powered=false] it says "There is no block named minecraft:lever[powered=false]"
I am trying this in 1.12.2, if this command does not work in this version then can you tell me what command works?
In 1.12.2 use:
You have to change the last number for the facing direction:
Wow, Thanks!! It worked!