String

String is an item used to make bows, crossbows, fishing rods, leads, and looms. When placed as a block, string becomes tripwire which, when combined with tripwire hooks, can form a tripwire circuit.

Natural generation
Five pieces of tripwire generate naturally in every jungle temple.

Obtaining
String can be obtained from drops, breaking cobwebs, fishing, and as gifts from cats. String can be looted from jungle temples, desert pyramid chests, and dungeons.

Drops
Spiders and cave spiders drop 0-2 string upon death. The maximum is increased by 1 per level of Looting, for a maximum of 0-5 string with Looting III.

Cats drop 0-2 string upon death, unaffected by Looting.

Tripwire can be instantly with any tool, dropping string. Tripwire is also removed and drops string as an item when: Tripwire is destroyed without dropping string if lava flows into its space.
 * water flows into its space
 * a piston tries to push it or moves a block into its space

A cobweb drops string when it is broken in these ways (see also ):
 * Breaking a cobweb with a sword
 * Pushing a cobweb with a piston
 * Water breaking a cobweb by flowing over it (flowing lava destroys cobwebs without leaving string)

Bartering
Piglins may barter 8–24 string when given a gold ingot.

Fishing
String has a 0.6% chance of being caught when fishing with an unenchanted fishing rod. The chance decreases to 0.5%, 0.4%, and 0.3% if the fishing rod is enchanted with Luck of the Sea at enchantment levels I, II, and III, respectively.

Gift
Tamed cats have a 16.13% chance of giving the player string as a gift. Cats may also drop 0-2 string if killed.

Usage
String can be used as a crafting ingredient and tripwire can be used as a redstone component. It can also be used to keep players from ender-pearling through that space.

Trading
Novice-level Fisherman villagers have a 50% chance to buy 20 string as part of their first tier trade.

Journeyman-level Fletcher villagers buy 14 string for an emerald as part of their trade.

Redstone component
String can be placed as tripwire, which can be used to detect entities as part of a tripwire circuit. Observers can also be used with tripwire to generate Redstone signals.


 * Placement

To place tripwire, string while pointing at a surface facing the space the tripwire should occupy.


 * In order to activate tripwire hooks, tripwire 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.


 * Activation

A tripwire activates if almost any entity (players, mobs, minecarts, boats, items, arrows, etc.) intersects its collision mask. The tripwire remains active until there are no entities intersecting its collision mask. Thrown potions, some arrows, thrown ender pearls, and thrown eyes of ender do not activate tripwire.


 * Behavior

An active tripwire updates adjacent blocks (for example, it can activate a BUD circuit). Additionally, active tripwires that are part of valid tripwire circuits cause the attached tripwire hooks to activate (producing redstone power). Active tripwires do not themselves produce redstone power.

When tripwire is broken (including by being washed away by spreading water $$) after being part of a valid tripwire circuit, it activates the attached tripwire hooks for 5 redstone ticks (10 game ticks, or 0.5 seconds barring lag). It does not produce the signal if it is broken using shears.

ID




Block data
In Bedrock Edition, tripwire uses the following data values: