Lever

Revision as of 10:48, 7 December 2019 by HalfOfAKebab (talk | contribs) (→‎Usage: that's more of a game guide than a guide to levers)
Jump to navigation Jump to search
Lever
Renewable

Yes

Stackable

Yes (64)

Tool

Any tool

Blast resistance

0.5

Hardness

0.5

Luminous

0

Transparent

Yes

Flammable

No

Catches fire from lava

No

Map color (Java)


  0 NONE

Levers were an early addition to Minecraft, making their way into Alpha version 1.0.1 alongside doors, pressure plates and redstone dust. The texture got an update in [Beta] version 1.7 and 1.14, and in version 1.13 they got a sparkly particle effect, but otherwise they’re relatively unchanged. Making one is easy. A stick and a block of cobblestone will do the trick (you don’t even need a full 3x3 crafting grid). You can also find them in jungle temples and woodland mansions, if the above recipe sounds like too much effort.

Duncan Geere[1]

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

Natural generation

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

Obtaining

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

Block BlockSprite lever.png: Sprite image for lever in Minecraft linking to LeverLever
Hardness 0.5
Breaking time (secs)
Default 0.75
Legend
  • drops nothing
  • drops something other than the block itself
  • drops the block itself
  • italicized can be instant mined

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

Levers can be crafted from sticks and cobblestone.

Ingredients [hide]Crafting recipe
Stick +
Cobblestone
Invicon Stick.png: Inventory sprite for Stick in Minecraft as shown in-game linking to Stick with description: StickInvicon Cobblestone.png: Inventory sprite for Cobblestone in Minecraft as shown in-game linking to Cobblestone with description: Cobblestone
Invicon Lever.png: Inventory sprite for Lever in Minecraft as shown in-game with description: Lever

Usage

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
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

Sound Subtitle Namespaced ID Subtitle ID Source Pitch Volume Attenuation distance
Block breaking block.wood.hit subtitles.block.generic.hit Blocks 0.5 0.25 16
Block broken block.wood.break subtitles.block.generic.break Blocks 0.8 1.0 16
Block placed block.wood.place subtitles.block.generic.place Blocks 0.8 1.0 16
Footsteps block.wood.step subtitles.block.generic.footsteps Blocks 1.0 0.15 16
No subtitle block.wood.fall (Plays when fallen on from a height) Blocks 0.75 0.5 16
Lever clicks block.lever.click subtitles.block.lever.click ? (<1.0) ? 16

Note: The lever uses the same sound event for both turning on and off, but the pitch is determined outside of sounds.json. Exact values unknown.

Data values

Block data

See also: Data values

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

See also: Block states

Java Edition:

Name Default value Allowed values [hide]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
[hide]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

History

This page would benefit from the addition of more images.
 
Please remove this notice once you've added suitable images to the article.
The specific instructions are: 17w47a texture addtion of the underside of levers.
[hide]classic
May 21, 2009Notch shows interest in adding levers.
[hide]alpha
v1.0.1File:Lever Revision 1.png Added levers.
[hide]beta
1.7File:Lever Revision 2.png The texture of levers has now been updated.
[hide]Java Edition
1.3.1Levers now generate in jungle temples.
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value).Levers can now be placed upside down (on the underside of a block).
1.5Lever orientation is no longer random.
1.11Levers now generate in woodland mansions.
1.13Flicking 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.14 The texture of levers has now been changed.
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value).Levers now use correct cullface arguments, and a redundant face was deleted.[needs testing]
[hide]Pocket Edition Alpha
0.13.0File:Lever Revision 2.png Added levers.
0.15.0Levers now generate in jungle temples.
[hide]Pocket Edition
1.1.0Levers now generate in woodland mansions.
[hide]Bedrock Edition
1.10.0 The texture of levers has now been changed.
[hide]Legacy Console Edition
Xbox 360 Xbox One PS3 PS4 PS Vita Wii U Switch
TU1CU1Patch 1File:Lever Revision 2.png Added levers.
TU14Levers can now be placed upside down (on the underside of a block).
[hide]PlayStation 4 Edition
1.90 The texture of levers has now been changed.
[hide]New Nintendo 3DS Edition
0.1.0File:Lever Revision 2.png Added levers.

Issues

Issues relating to "Lever" are maintained on the bug tracker. Issues should be reported and viewed there.

References