Lever

From Minecraft Wiki
(Redirected from Levers)
Jump to: navigation, search
Lever
Lever.png
Lever down.png
Transparent

Yes

Luminance

0

Blast resistance

2.5

Tool

Any tool

Renewable

Yes

Stackable

Yes (64)

Flammable

No

Catches fire from lava

No

Drops

Itself

Data value

dec: 69 hex: 45 bin: 1000101

Namespaced ID

lever

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

Natural generation[edit]

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

Obtaining[edit]

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

Block Lever
Hardness 0.5
Breaking time
Hand 0.75

A lever is also removed and drops itself as an item if:

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

Crafting[edit]

Levers can be crafted from sticks and cobblestone.

Ingredients Crafting recipe
Stick +
Cobblestone

Usage[edit]

Five of the eight possible orientations, levers off.

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 orients itself in-line with the placing player.
In Bedrock Edition, it can additionally be placed on the top of a fence, stone wall or hopper, and can be placed underwater.
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:

Sounds[edit]

Sound Subtitle Namespaced ID Subtitle ID Source Pitch Volume Min. volume
MISSING Lever clicks block.lever.click subtitles.block.lever.click ? ? ? ?

Data values[edit]

Block data[edit]

In Bedrock Edition, 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 states[edit]

Java Edition:

Name Default value Allowed values Description
facewallceiling
floor
wall
The face of the block it's 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 it's 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.

Video[edit]

History[edit]

Java Edition Classic
May 21, 2009Notch shows interest in adding levers.
Java Edition Alpha
v1.0.1Lever Revision 1.png Added levers.
Java Edition Beta
1.7Lever Revision 2.png The texture of levers has now been updated.
Java Edition
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.
1.1317w47aFlicking a lever on now displays redstone particles.
Levers can no longer be placed on top of pistons.
Levers now have an underside texture.
Prior to The Flattening, this block's numeral ID was 69.
1.1418w43aLever.png The texture of levers has now been changed.
19w03cLevers now use correct cullface arguments, and a redundant face was deleted.[needs testing]
Pocket Edition Alpha
0.13.0build 1Lever Revision 2.png Added levers.
0.15.0build 1Levers now generate in jungle temples.
Pocket Edition
1.1.0alpha 1.1.0.0Levers now generate in woodland mansions.
Legacy Console Edition
TU1CU11.0Patch 1Lever Revision 2.png Added levers.
TU141.04Levers can now be placed upside down (on the underside of a block).
New Nintendo 3DS Edition
0.1.0Lever Revision 2.png Added levers.

Issues[edit]

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