Button

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

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

A button will also be removed and drop itself as an item:
 * if its attachment block is moved, removed, or destroyed
 * if water or lava flows into its space
 * if 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.

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.

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


 * Placement


 * Buttons can be whilst aiming at the surface at which it will be attached.


 * 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 either 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 if it is stuck in the same face of a block as the button.


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


 * Behavior


 * Whenever activated, a wooden button will remain active for 15 redstone ticks (1.5 seconds, barring lag), while a stone button will remain active for 10 redstone ticks (1 second, barring lag). A wooden button having been activated by a fired arrow will remain active until the arrow 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 will provide 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.

Data values
A button's type is defined by its ID name, and its orientation and activation status is stored in its block data. A button also has a block state which is expected to replace the functionality of block data in a future version.

ID
A button's ID defines what type of button it is.

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