dec: 69 hex: 45 bin: 1000101
Levers can be mined using any tool, or without a tool.
Three levers are generated naturally in each jungle temple.
- See also: Redstone circuit
A lever can be used as a player-switchable redstone power source.
- To place a lever, use the "Use Item/Place Block" control (right-click, by default) while aiming at the surface to which it should be attached.
- A lever can be attached to the top, side, or bottom of any full solid opaque block (stone, dirt, blocks of gold, etc.), or to the top of an upside-down slab or upside-down stairs (but not to the bottom of a right-side-up slab or stairs). When placed on the top or bottom of a block, the lever will configure its orientation to be in-line with the placing player.
- When placed on the side of blocks, down is on and up is off. On the top or bottom of blocks, on is north or west, off is south or east.
- To activate or deactivate a lever, use the "Use Item/Place Block" control (right-click, by default). A lever can be turned on and off as fast as it can be clicked.
- Mobs cannot turn a lever on or off.
- While active, a lever:
- powers any adjacent redstone dust (including beneath the lever) to power level 15
- powers any adjacent redstone comparator or redstone repeater facing away from the lever to power level 15
- strongly powers its attachment block to power level 15 (only if the attachment block is a full solid opaque block)
- activates any adjacent mechanism components, including above or below, such as pistons, redstone lamps, etc.
- To remove a lever, use the "Attack/Destroy" control (left-click, by default). Removing a lever takes 0.75 seconds and it will drop itself as an item.
- A lever will also be removed and drop itself as an item:
- If lava flows into a lever's space, the lever will be destroyed without dropping itself as an item.
Every lever has an ID name of
minecraft:lever and stores its orientation and activation status in its block data. A lever also has a block state which is expected to replace the functionality of block data in a future version.
A lever's block data stores its orientation, and whether it is active:
A three-bit field storing a value from 0 to 7:
|0x8||If this bit is set, the lever is active.|
- See also: Block states
||The block-face on which the lever is mounted;
for example, a lever placed on a south-facing wall will face 'south'.
||A lever mounted on the floor, pointing east when off.|
||A lever mounted on the ceiling, pointing east when off.|
||A lever mounted on the floor, pointing south when off.|
||A lever mounted on the ceiling, pointing south when off.|
||True if lever is 'on', provinding power.|
|1.3.1||12w24a||Levers can now be placed upside down (on the underside of a block).|
|1.5||13w03a||Lever orientation is no longer random.|
|TU14||Levers can now be placed upside down (on the underside of a block).|
Issues relating to "Lever" are maintained on the issue tracker. Report issues there.