Tripwire Hook

Tripwire Hooks are a type of switch that can be placed across a gap for the player to activate. They are activated by the player stepping on them or destroying the wire while not holding shears. Tripwires are one of the five types of switches to be introduced into the game.

Usage
The player first attaches Hooks across from each other at most 19 blocks apart. Then, the player must place String across the gap between them. The string can "float" across this gap, not requiring blocks beneath it to be placed. Once connected, the hooks will lower. At this point, walking on, or destroying the string (without shears) will cause redstone current from both hooks. The string must lie in a straight line between the two hooks, or else it will not activate when someone steps on it.

History
On May 28th, 2012, Dinnerbone began tweeting of a new idea he had. He began posting pictures and eventually released a video on Tripwires. Before this, the player could not place string on the ground. Dinnerbone credited the idea to his fiancee MissMarzenia.

Tripwire Hooks were added to the game in Snapshot 12w22a.

Trivia

 * Although placing String on the ground is mainly for creating Tripwires, String does not need to be used in this way and can be placed anywhere the player likes.
 * Tripwires can detect players in minecarts if they're placed over tracks.
 * Tripwires will only detect living entities, like a pressure plate.
 * As above, this allows for the formation of a 'stone' pressure plate for minecarts, which detects mobs but not the minecart. It also allows for automated boarding.
 * Tripwire can be "stacked" on itself when being placed, like stacking signs on signs, but it will still float after removing the tripwire/block under it.