Tripwire Hook

A tripwire hook is a non-solid block that can be used to detect entities (players, mobs, items, etc.) when part of a tripwire circuit.

Obtaining
Tripwire hooks can be broken using any tool, or without a tool.

Natural generation
Four tripwire hooks are generated naturally in each jungle temple.

Fishing
Tripwire hooks can be obtained as a "junk" item from fishing.

Usage
Tripwire hooks can be used as crafting ingredients or as redstone components.

Crafting ingredient
Tripwire hooks can be used to craft trapped chests.

Redstone component
A tripwire hook can be used to detect mobs, items, and other entities over a large area.


 * Placement


 * To place a tripwire hook, use the "Use Item/Place Block" control (right-click, by default).


 * A tripwire hook can be attached to the side of any full solid opaque block.


 * In order to function correctly, a tripwire hook must be part of a "tripwire circuit": a straight line of blocks consisting of a block with a tripwire hook attached to it, a "tripwire line" (1 to 40 blocks of tripwire), and a second tripwire hook attached to another block.


 * To place tripwire, right-click on an adjacent block with a string. Tripwire can be placed "on the ground" or "in the air", and will only form a valid tripwire line if all the tripwire is of the same type. Tripwire is considered on the ground if placed on any opaque block, or on a block of redstone, a hopper, an upside-down slab, or an upside-down stairs. Tripwire is considered in the air if placed on any other block, or above air. Tripwire on the ground has a short hitbox (0.125 blocks high), while tripwire in the air has a taller hitbox (0.5 blocks high).


 * If the attachment block under ground tripwire is removed, the tripwire will be destroyed and drop itself as string.


 * A tripwire circuit is placed correctly when the tripwire hooks are fully extended and the tripwire line runs continuously between the tripwire hooks. Tripwire lines from separate tripwire circuits can be placed next to each other (in parallel), above each other, and can even intersect each other.


 * Activation


 * A tripwire hook in a valid tripwire circuit actives when certain entities (players, mobs, items, etc.) intersect the tripwire hook's tripwire line "hit box" (but not the tripwire hook itself), and deactivates when all entities leave or are removed from the tripwire line.


 * Entities which will not activate a tripwire circuit include: thrown potions, some arrows, thrown ender pearls, and thrown eyes of ender.


 * A tripwire hook also activates for 5 redstone ticks (0.5 seconds, barring lag) when any of its tripwires are destroyed, except when shears are used to destroy the tripwire.


 * Breaking the tripwire hook, or the block it is attached to, does not generate a pulse.


 * Behavior


 * While active, a tripwire hook:
 * powers any adjacent redstone dust to power level 15, including beneath the tripwire hook
 * powers any adjacent redstone comparators or redstone repeaters facing away from the tripwire hook 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.


 * Tripwire produces no power itself.


 * Although destroying tripwire with shears will not activate a tripwire hook, it will change the tripwire hook's block data (from "connected" to not "connected") which can be detected with a block update detector (BUD). In addition, every time a tripwire hook receives a block tick (a random update that occurs in up to three block in each chunk section every game tick, and on average affects any particular block every 47 seconds), the tripwire hook and its attachment block will produce a redstone update which can also be detected with a BUD.


 * Removal


 * To remove a tripwire hook, use the "Attack/Destroy" control (left-click, by default). Removing a tripwire hook takes no time and it will drop itself as an item.


 * A tripwire hook will also be removed and drop itself as an item:
 * if its attachment block is moved, removed, or destroyed
 * if water flows into its space
 * if a piston tries to push it or moves a block into its space


 * A tripwire hook will be destroyed without dropping itself as an item if lava flows into its space.

Data values
A tripwire hook has an ID name of  and is further defined by its block data. A tripwire hook also has a block state which is expected to replace the functionality of block data in a future version.

Block data
A tripwire hook's block data stores its orientation, connection status, and activation status:

An activated hook will normally have a value of 0xC (decimal 12), meaning "connected" and "activated", plus its facing value.

History
On May 28, 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.

Gallery
Haken Gancho de cuerda Crochet Struikeldraadhaak Zaczep na linkę Натяжной датчик 绊线钩