Name | Default value | Allowed values | Description |
---|---|---|---|
face | wall | ceiling floor wall | The face of the block the lever placed on. Floor is on top of a block, ceiling is on the bottom, and wall is on one of its sides. |
facing | north | east north south west | The direction the lever is facing. Opposite to the direction the player is facing if placed on the side of a block. |
powered | false | false true | If true, the lever is currently activated. |
Name | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
Description |
---|---|---|---|---|---|
open_bit | 0x8 | false | false true | 0 1 | If the lever is currently activated. |
lever_direction | 0x1 0x2 0x4 | down_east_west
| down_east_west | 0 | Lever on block bottom points east when off |
east | 1 | Lever on block side facing east | |||
west | 2 | Lever on block side facing west | |||
south | 3 | Lever on block side facing south | |||
north | 4 | Lever on block side facing north | |||
up_north_south | 5 | Lever on block top points south when off. | |||
up_east_west | 6 | Lever on block top points east when off. | |||
down_north_south | 7 | Lever on block bottom points south when off. |