minecraft.wiki-mirror/wiki_backup/lever.txt
2024-12-20 19:09:39 -05:00

225 lines
9.4 KiB
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{Infobox block
|image=Lever.png
|image2=Powered Lever.png
|transparent=Yes
|light=No
| waterloggable = {{jebe|No|Yes}}
|tool=any
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No}}
A '''lever''' is a non-solid [[block]] that can be [[Redstone components|switched]] to provide [[Redstone circuit|redstone power]].
== Obtaining ==
=== Breaking ===
A lever can be mined using any [[tool]], or without a tool, and always drops itself as an item.
{{breaking row|horizontal=1|Lever}}
A lever is also removed and drops as an item if:
* its attachment block is moved, removed, or destroyed
* [[water]] or [[lava]] flows into its space, {{in|java}}
* a [[piston]] tries to push it or moves a block into its space
=== Natural generation ===
Three levers are generated naturally in each [[jungle temple]]. They also generate in [[woodland mansion]]s and [[ancient cities]].
{{Block distribution}}
=== Crafting ===
{{Crafting
|B2= Stick
|B3= Cobblestone
|Output= Lever
|type= Redstone
}}
== Usage ==
[[File:Lever positions.png|thumb|Five of the eight possible orientations, levers off.]]
{{see also|Redstone circuits}}
A lever can be used as a player-switchable redstone [[Redstone components#Power components|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}}, it can additionally be placed on the top of a fence, stone wall or hopper, and can be [[waterlogging|placed underwater]].
When placed on the side of blocks, down is ''on'' and up is ''off''. On the top or bottom of blocks, ''off'' is north or west, ''on'' 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.
[[Mob]]s cannot turn a lever on or off.
=== Behavior ===
While active, a lever:
* powers any adjacent [[redstone dust]] (including beneath the lever) to [[Redstone circuit#Power|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 [[Redstone components#Mechanism components|mechanism components]], including above or below, such as [[piston]]s, [[redstone lamp]]s, etc.
* emits redstone particles to indicate that it is active ({{in|java}}).
== Sounds ==
=== Generic ===
{{Edition|java}}:
{{Sound table/Block/Stone/JE}}
{{Edition|bedrock}}:
{{Sound table/Block/Lever/BE}}
=== Unique ===
{{el|je}}:
{{SoundTable
| type = java
| {{SoundLine
|sound=Click.ogg
|subtitle=Lever clicks
|source=block
|description=When a lever deactivates <ref group=sound name=same>The lever uses the same sound event for both turning on and off. This has been reported on mojira: {{bug|MC-177454}}.</ref>
|id=block.lever.click
|translationkey=subtitles.block.lever.click
|volume=0.3
|pitch=0.5
|distance=16}}
| {{SoundLine
|subtitle=Lever clicks
|source=block
|description=When a lever activates <ref group=sound name=same/>
|id=block.lever.click
|translationkey=subtitles.block.lever.click
|volume=0.3
|pitch=0.6
| distance = 16
}}
}}
{{edition|bedrock}}
{{SoundTable
|type=bedrock
| {{SoundLine
|sound=Click.ogg
|source=block
|description=When a lever deactivates
|id=random.lever_click
|volume=0.3
|pitch=0.5}}
| {{SoundLine
|source=block
|description=When a lever activates
|id=random.lever_click
|volume=0.3
| pitch = 0.6
}}
}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Lever
|spritetype=block
|nameid=lever
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Lever
|spritetype=block
|nameid=lever
|id=69
|foot=1}}
=== Block states ===
{{see also|Block states}}
{{/BS}}
== Video ==
<div style="text-align:center">{{yt|sw2IV7nL5nk}}{{yt|aMit1sra8VY}}</div>
== History ==
''For a more in-depth breakdown of changes to textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{HistoryTable
|{{HistoryLine|java classic}}
|{{HistoryLine||May 21, 2009|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/110762705/my-list-on-tile-types-so-far|[[Notch]] shows interest in adding levers.}}
|{{HistoryLine|java alpha}}
|{{HistoryLine||v1.0.1|[[File:Wall Lever (S) JE1.png|32px]] [[File:Powered Wall Lever (S) JE1.png|32px]] Added levers.
|[[File:Ceiling Lever (N) JE1.png|32px]] [[File:Powered Ceiling Lever (N) JE1.png|32px]] The data values which would in future be used for ceiling levers had a large cobblestone cuboid in the middle, and floor and "ceiling" levers only existed in north- and west-facing forms.}}
|{{HistoryLine|java beta}}
|{{HistoryLine||1.7|[[File:Wall Lever (S) JE2-L1.png|32px]] [[File:Powered Wall Lever (S) JE2-L1.png|32px]] Due to the change of the [[cobblestone]] texture, the texture of levers has been updated.}}
|{{HistoryLine|java}}
|{{HistoryLine||1.3.1|dev=12w22a|Levers now generate in [[jungle temple]]s.}}
|{{HistoryLine|||dev=12w24a|[[File:Ceiling Lever (N) JE3.png|32px]] [[File:Ceiling Lever (W) JE3.png|32px]] [[File:Powered Ceiling Lever (N) JE3.png|32px]] [[File:Powered Ceiling Lever (W) JE3.png|32px]] Levers can now be placed upside down (on the underside of a block), changing those data values of levers accordingly.}}
|{{HistoryLine||1.5|dev=13w03a|Lever orientation is no longer random.}}
|{{HistoryLine||1.8|dev=14w10a|[[File:Wall Lever (S) JE3.png|32px]] [[File:Powered Wall Lever (S) JE3.png|32px]] Lever models have changed - the UV is now different.}}
|{{HistoryLine||1.11|dev=16w39a|Levers now generate in [[woodland mansion]]s.}}
|{{HistoryLine||1.13|dev=17w47a|[[File:Floor Lever (E) JE1.png|32px]] [[File:Floor Lever (S) JE1.png|32px]] [[File:Ceiling Lever (E) JE1.png|32px]] [[File:Ceiling Lever (S) JE1.png|32px]] [[File:Powered Floor Lever (E) JE1.png|32px]] [[File:Powered Floor Lever (S) JE1.png|32px]] [[File:Powered Ceiling Lever (E) JE1.png|32px]] [[File:Powered Ceiling Lever (S) JE1.png|32px]] Floor and ceiling levers can now be placed facing east or south. This changes the texture rotation.
|Flicking a lever on now displays redstone [[particles]].
|Levers can no longer be placed on top of [[piston]]s.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 69.}}
|{{HistoryLine||1.14|dev=18w43a|[[File:Wall Lever (S) JE4.png|32px]] [[File:Powered Wall Lever (S) JE4.png|32px]] The textures used by levers have changed.}}
|{{HistoryLine|||dev=18w50a|[[File:Wall Lever (S) JE5-L1.png|32px]] [[File:Powered Wall Lever (S) JE5-L1.png|32px]] The cobblestone texture has changed, changing levers as well.}}
|{{HistoryLine|||dev=19w03c|Levers now use correct cullface arguments, and a redundant face (internal end of the handle; visible only from within) was deleted.}}
|{{HistoryLine||1.19|dev=22w13a|Levers now generate in [[ancient cities]].}}
|{{HistoryLine||1.20.2|dev=23w33a|Levers now use stone sounds instead of wood sounds.<ref>{{bug|MC-217628||Levers use wood sounds rather than stone|Fixed}}</ref>}}
|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.13.0|dev=build 1|[[File:Wall Lever (S) JE2-L2.png|32px]]{{verify|Was this exact model used?}} Added levers.}}
|{{HistoryLine||v0.15.0|dev=build 1|Levers now generate in [[jungle temple]]s.}}
|{{HistoryLine|pocket}}
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|Levers now generate in [[woodland mansion]]s.}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.10.0|dev=beta 1.10.0.3|[[File:Wall Lever (S) JE5-L3.png|32px]]{{verify|Is this exact model used?}} The texture of levers has been changed.}}
|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Wall Lever (S) JE2-L2.png|32px]]{{verify|Was this exact model used?}} Added levers.}}
|{{HistoryLine||xbox=TU14|ps3=1.04|psvita=1.00|ps4=1.00|Levers can now be placed upside down (on the underside of a [[block]]).}}
|{{HistoryLine||xbox=TU54|xbone=CU44|ps3=1.52|psvita=1.52|ps4=1.52|wiiu=Patch 24|switch=1.0.4|Levers now generate in [[woodland mansion]]s.}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.90|wiiu=none|switch=none|[[File:Wall Lever (S) JE5-L3.png|32px]]{{verify|Was this exact model used?}} The texture of levers has been changed.}}
|{{HistoryLine|new 3ds}}
|{{HistoryLine||0.1.0|[[File:Wall Lever (S) JE2-L2.png|32px]]{{verify|Was this exact model used?}} Added levers.}}
|{{HistoryLine||1.9.19|Levers now generate in [[woodland mansion]]s.}}
}}
== Issues ==
{{Issue list}}
== References ==
{{Reflist}}
== External links ==
* [https://www.minecraft.net/en-us/article/taking-inventory--lever Taking Inventory: Lever] Minecraft.net on November 29, 2019
== Navigation ==
{{Navbox redstone|components}}
{{Navbox blocks|Utility}}
[[Category:Mechanisms]]
[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]
[[cs:Páka]]
[[de:Hebel]]
[[es:Palanca]]
[[fr:Levier]]
[[hu:Kar]]
[[it:Leva]]
[[ja:レバー]]
[[ko:레버]]
[[nl:Hendel]]
[[pl:Dźwignia]]
[[pt:Alavanca]]
[[ru:Рычаг]]
[[th:คันโยก]]
[[uk:Важіль]]
[[zh:拉杆]]