Button

A button is a non-solid block that can provide temporary redstone power.

Natural generation
Stone buttons are naturally generated in strongholds, next to iron doors. Stone buttons also generate in desert armorer house attached to granite.

Jungle buttons generate naturally on house walls in desert villages.

Obtaining
Wooden buttons are more easily broken with axes, whilst stone buttons are more easily broken with pickaxes.

A button is removed and drops itself as an item if:
 * its attachment block is moved, removed, or destroyed
 * water or lava flows into its space
 * a piston tries to push it or moves a block into its space

Crafting
Buttons can be crafted from planks for a matching wood-type button, or stone for a stone button.

Redstone power
A button can be used as a monostable power source (it automatically deactivates shortly after being activated).


 * Placement


 * Buttons can be by  it on a surface.


 * They can be attached to the side, bottom and top of any full opaque block.


 * If placed on the top or bottom of a block, the button can face any direction.


 * It can also be attached to the top of a fence in Bedrock edition.


 * More information about placement on transparent blocks can be found at Opacity/Placement.


 * Activation


 * Buttons are usually in an inactive state, but can be temporarily activated by players. A button can be activated by it. A wooden button can also be activated by a fired arrow or a thrown trident if its collision box touched the button.


 * Mobs cannot activate buttons directly, but arrows fired by skeletons or dispensers can activate wooden buttons.


 * Behavior


 * Whenever activated, a wooden button remains active for 15 redstone ticks (1.5 seconds, barring lag), while a stone button remains active for 10 redstone ticks (1 second, barring lag). A wooden button activated by a fired arrow or a thrown trident remains active until the arrow or trident despawns (after one minute) or is picked up by a player.


 * While active, a button:
 * powers any adjacent redstone dust to power level 15, including beneath the button
 * powers any adjacent redstone comparators or redstone repeaters facing away from the button to power level 15
 * strongly powers its attachment block to power level 15
 * activates any adjacent mechanism components, including above or below, such as pistons, redstone lamps, etc.


 * When a button changes state it provides a redstone update to all redstone components adjacent to itself (including above and below), and to all redstone components adjacent to its attachment block.

Fuel
Wooden buttons can be used as a fuel in furnaces, smelting 0.5 items per button.

ID




Block data
In Bedrock Edition, a button's block data stores its orientation, and whether it is active: