Minecraft:String: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 16: | Line 16: | ||
| lavasusceptible = No | | lavasusceptible = No | ||
}} | }} | ||
'''String''' is an [[Minecraft:item]] that can be used as a [[Minecraft:crafting]] material or placed as '''tripwire''' to allow [[Minecraft:tripwire hook]]s and [[Minecraft:observer]]s to detect [[Minecraft:entities]] that touch it. | '''String''' is an [[Minecraft:item]] that can be used as a [[Minecraft:crafting]] material or placed as a '''tripwire''' to allow [[Minecraft:tripwire hook]]s and [[Minecraft:observer]]s to detect [[Minecraft:entities]] that touch it. | ||
== Obtaining == | == Obtaining == | ||
| Line 41: | Line 41: | ||
=== Generated loot === | === Generated loot === | ||
On the secret chamber of {{cd|[[Minecraft:Trial_Chambers#Intersections|trial_chambers/intersection/intersection_2]]}}, three string is contained in a [[Minecraft:decorated pot]]. Unlike most loot, this loot is not controlled by a [[Minecraft:loot table]]. | |||
{{LootChestItem|string}} | {{LootChestItem|string}} | ||
| Line 237: | Line 239: | ||
{{bst|showaux=1|bits=0x4|attached_bit|false|false,true|True if the tripwire is connected to a valid tripwire circuit.|0,1}} | {{bst|showaux=1|bits=0x4|attached_bit|false|false,true|True if the tripwire is connected to a valid tripwire circuit.|0,1}} | ||
{{bst|bits=0x8|disarmed_bit|false|false,true|True if the tripwire is disarmed, that is, broken using [[Minecraft:shears]].|0,1}} | {{bst|bits=0x8|disarmed_bit|false|false,true|True if the tripwire is disarmed, that is, broken using [[Minecraft:shears]].|0,1}} | ||
{{bst|minecraft:connection_east{{UpcomingCompare|be|26.50}}|false|false,true|True if the tripwire connects to other tripwire or tripwire hooks to the east.|Unsupported}} | |||
{{bst|minecraft:connection_north{{UpcomingCompare|be|26.50}}|false|false,true|True if the tripwire connects to other tripwire or tripwire hooks to the north.|Unsupported}} | |||
{{bst|minecraft:connection_south{{UpcomingCompare|be|26.50}}|false|false,true|True if the tripwire connects to other tripwire or tripwire hooks to the south.|Unsupported}} | |||
{{bst|minecraft:connection_west{{UpcomingCompare|be|26.50}}|false|false,true|True if the tripwire connects to other tripwire or tripwire hooks to the west.|Unsupported}} | |||
{{bst|bits=0x1|powered_bit|false|false,true|True if the tripwire is active.|0,1}} | {{bst|bits=0x1|powered_bit|false|false,true|True if the tripwire is active.|0,1}} | ||
{{bst|bits=0x2|suspended_bit|true|false,true|True if the tripwire hasn't connected to a valid tripwire circuit. (makes [[Minecraft:hitbox]] larger when true)|0,1|foot=1}} | {{bst|bits=0x2|suspended_bit|true|false,true|True if the tripwire hasn't connected to a valid tripwire circuit. (makes [[Minecraft:hitbox]] larger when true)|0,1|foot=1}} | ||
| Line 300: | Line 306: | ||
|{{HistoryLine||1.20.3|dev=23w45a|exp=Update 1.21|Tripwires can now be found in [[Minecraft:trial chambers]].}} | |{{HistoryLine||1.20.3|dev=23w45a|exp=Update 1.21|Tripwires can now be found in [[Minecraft:trial chambers]].}} | ||
|{{HistoryLine||1.21.2|dev=24w33a|Tripwire again breaks when being sheared.}} | |{{HistoryLine||1.21.2|dev=24w33a|Tripwire again breaks when being sheared.}} | ||
|{{HistoryLine||1.21.9|dev=25w31a|The expansion of the detection box slightly shrinked, so that entities can no longer trigger tripwire by exactly touching its former detection boundary.}} | |||
|{{HistoryLine||26.1|dev=snap3|The Tripwire texture is now rendered as alpha cutout instead of transparent.}} | |{{HistoryLine||26.1|dev=snap3|The Tripwire texture is now rendered as alpha cutout instead of transparent.}} | ||
|{{HistoryLine|java upcoming}} | |{{HistoryLine|java upcoming}} | ||
| Line 329: | Line 336: | ||
|{{HistoryLine||1.18.30|dev=beta 1.18.30.26|The ID of tripwire block is changed from <code>tripWire</code> to <code>trip_wire</code>}} | |{{HistoryLine||1.18.30|dev=beta 1.18.30.26|The ID of tripwire block is changed from <code>tripWire</code> to <code>trip_wire</code>}} | ||
|{{HistoryLine||1.20.10|dev=Preview 1.20.10.20|String can no longer be crafted from cobwebs.}} | |{{HistoryLine||1.20.10|dev=Preview 1.20.10.20|String can no longer be crafted from cobwebs.}} | ||
|{{HistoryLine||26.40|dev=Preview 26.40.27|exp=Drop 3 of 2026|String can now generate as part of [[Minecraft:abandoned camp]]s in barrels.}} | |{{HistoryLine||26.40|dev=Preview 26.40.27|exp=Drop 3 of 2026|String can now generate as part of [[Minecraft:abandoned camp]]s in barrels.}} | ||
|{{HistoryLine|upcoming bedrock}} | |||
|{{HistoryLine||26.50|dev=Preview 26.50.22|All features from the "Drop 3 of 2026" experiment have been fully implemented.}} | |||
}} | }} | ||
Latest revision as of 11:24, 25 August 2026
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Template:Infobox block String is an Minecraft:item that can be used as a Minecraft:crafting material or placed as a tripwire to allow Minecraft:tripwire hooks and Minecraft:observers to detect Minecraft:entities that touch it.
Obtaining
Breaking
Tripwire can be Template:Control instantly with any Minecraft:tool, dropping string. Tripwire is also removed and drops string as an Minecraft:item when:
- Minecraft:Water flows into its space
- A Minecraft:piston pushes it or moves a Minecraft:block into its space
Tripwire is destroyed without dropping string if Minecraft:lava flows into its space.
A Minecraft:cobweb drops string when it is broken in these ways (see also Template:Section link):
- Breaking a cobweb with a Minecraft:sword
- Pushing a cobweb with a Minecraft:piston
- Minecraft:Water breaking a cobweb by flowing over it (flowing Minecraft:lava destroys cobwebs without leaving string)
Natural generation
Five pieces of tripwire generate naturally in every Minecraft:jungle pyramid. Several tripwires can generate inside Minecraft:trial chambers next to Minecraft:dispensers as traps.
Mob loot
Generated loot
On the secret chamber of Template:Cd, three string is contained in a Minecraft:decorated pot. Unlike most loot, this loot is not controlled by a Minecraft:loot table.
Fishing
String has a 0.5% (Template:Frac) chance of being caught when Minecraft:fishing with an unenchanted Minecraft:fishing rod. The chance decreases to 0.4% (Template:Frac), 0.3% (Template:Frac), and 0.2% (Template:Frac) if the fishing rod is enchanted with Minecraft:Luck of the Sea at enchantment levels I, II, and III, respectively.
Bartering
Minecraft:Piglins may Minecraft:barter 3-9 string with a chance of ~4.26% (Template:Frac) when given a Minecraft:gold ingot.
Cat gifts
Template:Main Tamed Minecraft:cats have a 70% chance of giving the Minecraft:player a gift when they wake up from a Minecraft:bed, and the gift has a 16.13% chance to be a string.
Usage
String can be used as a crafting ingredient and tripwire can be used as a Minecraft:redstone circuit component. It can also be used to keep Minecraft:players from ender-pearling through that space.
Crafting ingredient
Redstone component
Template:Redirect Template:See also
String can be placed as tripwire, which detects entities intersecting with it (players, mobs, items, etc.).
- Placement
To place tripwire, Template:Control string while pointing at a surface facing the space the tripwire should occupy.
- A line of tripwire blocks can form a simple "circuit" when placed without gaps in a straight line (1 to 40 blocks long) between two Minecraft:tripwire hooks that face inward toward the tripwire blocks. Multiple tripwire circuits can intersect one another, and the tripwire at each intersection can activate each circuit it belongs to.
- Activation
A tripwire block is activated by any Minecraft:entity intersecting the tripwire Minecraft:hitbox, except Minecraft:spectators and area effect clouds. Template:IN, the following entities also do not activate tripwire: thrown Minecraft:eyes of ender, the Minecraft:ender dragon, Minecraft:markers, and Minecraft:items clipped into Minecraft:solid blocks. Notably, there are some entities that still activate tripwire despite otherwise ignoring block collisions while moving, such as Minecraft:vexesTemplate:Only, and thrown Minecraft:eyes of enderTemplate:Only. Active tripwires do not produce redstone power, despite their active state being referred to in-game as "powered". An Minecraft:observer facing a tripwire will pulse whenever it is activated or deactivated, even if it is not attached to any tripwire hooks.
- BehaviorTemplate:Info needed
When any entity activates an inactive tripwire, the tripwire first updates its immediate neighbors, and then searches to the south and west looking for Minecraft:tripwire hooks to signal to update (no search is done toward the east or north). A search in any given direction is successful if a hook is found fewer than 41 blocks away, is facing toward the updater tripwire, and is connected to the updater tripwire by a continuous line of tripwire blocks.
After these updates are processed, the activated tripwire schedules a block tick at its own position to be processed 10 Minecraft:game ticks later. If the tripwire is still active during this scheduled tick, it checks whether there are any entities that should keep it activated. If there are any, the tripwire stays activated and schedules another block tick on itself for 10 game ticks later. If there are no entities that should keep the tripwire activated, the tripwire deactivates and sends the same updates as when initially activating – namely, a neighbor update and a "south-and-west signal" for tripwire hooks to update. This same set of updates is also sent when tripwire is broken (including by being washed away by spreading Minecraft:water Template:In).
If any tripwire hook is signaled to update and finds itself to be part of a valid tripwire circuit, it becomes active and produces a redstone signal in much the same way a Minecraft:button does.
A tripwire hook activates for 5 redstone ticks (0.5 seconds, barring lag) when any of its tripwires are destroyed, except when Minecraft:shears are used to destroy the tripwire.
Tripwire does not prevent mobs from spawning.
Trading
Sounds
Generic
Template:Sound table/Block/Normal
Unique
Data values
ID
Template:Edition: Template:ID table Template:ID table
Template:Edition: Template:ID table Template:ID table
Block states
Template:Edition: Template:Bst Template:Bst Template:Bst Template:Bst Template:Bst Template:Bst Template:Bst
Template:Edition: Template:Bst Template:Bst Template:Bst Template:Bst Template:Bst Template:Bst Template:Bst Template:Bst
Videos
History
Java Edition
Bedrock Edition
Legacy Console Edition
New Nintendo 3DS Edition
Issues
Gallery
Renders
-
(NS)
-
(N)
-
(E)
-
(S)
-
(W)
-
(EW)
-
(NE)
-
(ES)
-
(SW)
-
(NW)
-
(ESW)
-
(NSW)
-
(NEW)
-
(NES)
Screenshots
-
An image released by Mojang testing visibility of tripwires from a distance at night.
-
The same room viewed from the same angle, in daytime.
-
Power lines made of suspended string blocks.
In other media
-
Minecraft:Kai setting off a tripwire.
References
External links
- Taking Inventory: String – Minecraft.net on May 14, 2020
Template:Navbox redstone Template:Navbox items Template:Navbox blocks
Minecraft:cs:Vlákno Minecraft:de:Faden Minecraft:es:Hilo Minecraft:fr:Ficelle Minecraft:hu:Fonál Minecraft:it:Cordicella Minecraft:ja:糸 Minecraft:ko:실 Minecraft:lzh:綫 Minecraft:nl:Draad Minecraft:pl:Nić Minecraft:pt:Linha Minecraft:ru:Нить Minecraft:uk:Нитка Minecraft:zh:线