Share

Share

String

From Minecraft Wiki
(Redirected from Tripwire)
Jump to: navigation, search
String
String.png
String
Type

Tool

Physics

No

Transparency

Yes

Luminance

No

Blast resistance

0

Hardness

0

Tool

Any tool

Renewable

Yes

Stackable

Yes (64)

Flammable

No

First appearances

See History

Drops

Itself

Data values
Block
dec: 132 hex: 84 bin: 10000100
Item
dec: 287 hex: 11F bin: 100011111
Name
Block
tripwire
Item
string

String is used for the crafting recipes of many tools and utilities. When placed as a block, string is called tripwire.

Obtaining[edit]

String can be obtained from drops and fishing, and can be looted from jungle temples and dungeons

Breaking[edit]

Tripwire can be mined instantly with any tool, dropping string.

Tripwire will also be removed and drop string as an item:

  • if a full solid opaque block (but not a transparent block) beneath it 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

Tripwire will be destroyed without dropping string if lava flows into its space.

Drops[edit]

Spiders and cave spiders drop up to two pieces of string upon death. Cobwebs drop one string when destroyed.

Fishing[edit]

String can be obtained by fishing.

Natural generation[edit]

Five pieces of tripwire generate naturally in every jungle temple.

String has an approximately 53% chance of spawning in a dungeon chest, where it will appear in stacks of 1 to 4 units.

Usage[edit]

String can be used as a crafting ingredient and tripwire can be used as a redstone component.

Crafting ingredient[edit]

Name Ingredients Crafting recipe

Bow

Stick +
String


Stick String Grid layout Arrow (small).png Bow
Stick
String

Stick String

Fishing Rod

String +
Stick



Stick Grid layout Arrow (small).png Fishing Rod

Stick String
Stick
String

Lead

String +
Slimeball

String String
Grid layout Arrow (small).png Lead2
String Slimeball


String

White Wool

String




Grid layout Arrow (small).png White Wool
String String
String String

Redstone component[edit]

See also: Redstone circuit

Tripwire can be used to detect entities as part of a tripwire circuit.

Placement
To place tripwire, use string while pointing at a surface facing the space the tripwire should occupy.
When tripwire is placed on a full solid opaque block, it will lie flat "on the ground" (0.09375 or 332 blocks high). When placed above a transparent block (including air), tripwire will float "in the air" (0.21875 or 732 blocks high, but with a half-block-tall collision mask). Tripwire will connect to any adjacent tripwire or tripwire hooks facing the tripwire if they are also "in the air" or "on the ground", and can also be placed above or below other tripwire.






Tripwire Circuit
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. All tripwire hooks and tripwire must either have solid blocks beneath them (producing a tripwire circuit on the ground) or above transparent blocks (producing a tripwire circuit in the air).
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 will not activate tripwire.
Behavior
An active tripwire that is part of a valid tripwire circuit will cause the attached tripwire hooks to activate (producing redstone power). Active tripwires do not themselves produce redstone power.
When tripwire is broken (including by breaking a block beneath ground tripwire) after being part of a valid tripwire circuit, it will activate the attached tripwire hooks for 5 redstone ticks (10 game ticks, or 0.5 seconds barring lag). It will not produce the signal if it is broken using shears.
A tripwire does not need to be part of a valid tripwire circuit to activate, but without valid attached tripwire hooks the activation or deactivation can only update adjacent blocks (for example, activating a BUD circuit).

Data values[edit]

See also: Data values

ID[edit]

String has the ID name minecraft:string. Tripwire has the ID name minecraft:tripwire and is further defined by its block data. Tripwire also has a block state which is expected to replace the functionality of block data in a future version.

Block ID Name Numerical ID
Tripwire tripwire 132
String string 287

Block data[edit]

Bits Description
0x1 Set if tripwire is activated (an entity is intersecting its collision mask).
0x2 Set if tripwire is suspended in the air (not above a solid block).
0x4 Set if tripwire is attached to a valid tripwire circuit.
0x8 Set if tripwire is disarmed.

Block state[edit]

See also: Block states
Name Value Description

 attached
true
false
True if the tripwire is connected to a valid tripwire circuit.

 disarmed
true
false
True if the tripwire is disarmed, that is, broken using shears.

 north

 south

 east

 west
true
false

True if the tripwire connects in that direction.

For example, if east, west and south are true the tripwire is connected to either tripwire or tripwire hooks in those directions.

 powered
true
false
True if the tripwire is active.

 suspended
true
false
True if the tripwire is "in the air".

Video[edit]

History[edit]

Indev
February 19, 2010 Added string, as a drop from spiders.
Official release
1.3.1 12w22a String can be placed on the ground as a tripwire. Tripwire was first revealed on Dinnerbone's Twitter. Dinnerbone released a video showing him experimenting with tripwire before its release.
12w23a Tripwire is now activated by most entities (including arrows), and the max distance has been increased from 18 to 40 blocks.
Console Edition
TU1 Added string.
TU14 String can be placed on the ground as tripwire.

Issues[edit]

Issues relating to "String" are maintained on the issue tracker. Report issues there.

Gallery[edit]