Minecraft Wiki

The Minecraft Wiki has moved from Fandom; see the linked discussion page for details.

READ MORE

Minecraft Wiki
Advertisement

A lever is a non-solid block which can provide switchable redstone power.

Obtaining

Levers can be mined using any tool, or without a tool.

Block Lever
Hardness 0.5
Breaking time (secs)
Default 0.75

A lever will also be removed and drop itself as an item:

  • if its attachment block is moved, removed, or destroyed
  • if water flows into its space
  • if a piston tries to push it or moves a block into its space

If lava flows into a lever's space, the lever will be destroyed without dropping itself as an item.

Crafting

Levers can be crafted from sticks and cobblestone.

Ingredients Crafting recipe
Stick +
Cobblestone

Natural generation

Three levers are generated naturally in each jungle temple. They also generate in woodland mansions.

Usage

Lever positions

Five of the eight possible orientations, levers off.

See also: Redstone circuit

A lever can be used as a player-switchable redstone power source.

Placement
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.
Activation
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.
Behavior
While active, a lever:

Data values

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.

Block data

See also: Data values

A lever's block data stores its orientation, and whether it is active:

Bits Values
0x1
0x2
0x4

A three-bit field storing a value from 0 to 7:

  • 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.
0x8 If this bit is set, the lever is active.

Block state

See also: Block states

Java Edition:

Name Default value Allowed values Description
facewallceiling
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.
facingnortheast
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.
poweredfalsefalse
true
If true, the lever is currently activated.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
open_bit0x8falsefalse
true
0
1
If the lever is currently activated.
lever_direction0x1
0x2
0x4
down_east_west down_east_west0Lever on block bottom points east when off
east1Lever on block side facing east
west2Lever on block side facing west
south3Lever on block side facing south
north4Lever on block side facing north
up_north_south5Lever on block top points south when off.
up_east_west6Lever on block top points east when off.
down_north_south7Lever on block bottom points south when off.

Video

Lever/video

History

alpha
1.0.1Added levers.
release
1.3.112w22aLevers now generate in jungle temples.
12w24aLevers can now be placed upside down (on the underside of a block).
1.513w03aLever orientation is no longer random.
1.1116w39aLevers now generate in woodland mansions.
Pocket Edition Alpha
0.13.0build 1Added levers.
Legacy Console Edition
TU1CU1 1.0 Patch 1Added levers.
TU14 1.04 Levers can now be placed upside down (on the underside of a block).

Issues

Issues relating to "Lever" are maintained on the bug tracker. Report issues there.


Advertisement