{{Block
| transparent = Partial <small>(diffuses sky light)</small>
| light = No
| tool = shears
| tool2 = sword
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}

A '''cobweb''' is a block that slows down entity movements.

== Obtaining ==

=== Breaking ===

Cobwebs can be obtained as an item {{control|using}} [[shears]].<ref group="fn"> Swords can be enchanted with Silk Touch only in [[Creative]] mode or by using [[commands]] {{only|JE}}.</ref> A cobweb drops one piece of [[string]] if broken with a sword, or if [[water]] touches or flows over it, or a [[piston]] pushes it. It drops nothing when broken using anything else, or if [[lava]] flows over it.

{{breaking row|horizontal=1|Cobweb|none|shears=1|sword=1}}

=== Natural generation ===
Cobwebs generate naturally in [[mineshaft]]s, [[stronghold]] libraries, [[igloo]] basements, abandoned [[village]]s and [[woodland mansion]] spider spawner rooms.

== Usage ==

Mobs can spawn inside of cobwebs, in which case they do not catch fire if they are caught in a cobweb. Cobwebs also diffuse sky [[light]].

Blocks can be placed on cobwebs. [[Painting]]s{{only|java}} and [[sign]]s can be placed on their sides, or on top in the case of signs.

Despite being slowed down by them, mobs do not try to pathfind around cobwebs, which can be exploited to construct clever mob traps.

They can be useful in PvP servers, where a player can quickly erect a barrier of cobwebs that can trap players, or force them to destroy the cobwebs. They are also useful in traps that are deliberately intended to troll players, such as a long pitfall with cobwebs and lava at the bottom.

=== Redstone circuits ===
[[File:Cobweb delay.png|thumb|2 cobwebs delay for around a minute]]

Cobwebs can be used as a delaying mechanism in a redstone circuit, for example, to delay an item falling on a [[pressure plate]] or into a [[hopper]]. They can also be used to cancel random momentum of an item thrown from a [[dispenser]] or [[dropper]] by placing them directly on their face.

=== Effects ===

All mobs except for [[spider]]s and [[cave spider]]s experience slow movement through a cobweb. A mob falling through a cobweb takes 13 seconds to move down 1 block. A cobweb can partially stop blast damage if a player and the entity causing the [[explosion]] are both caught in the cobweb. The slowing effect of the cobweb increases if it is placed on [[ice]]. 
The slowest a player can move in vanilla Minecraft without commands or other third-party tools is by placing cobwebs on Blue Ice, sneaking, drinking a level IV Turtle Master Potion, and blocking, which causes the player come to a near-total standstill, moving only a single block every few minutes.

A cobweb affects the [[player]]'s movement abilities, as well. While in contact with it, the player can move at a speed of about 15% of the normal [[Player#Movement|walking]] speed. Additionally, [[jumping]] vibrates the player akin to jumping in a 2-block-high space.{{only|java}} A cobweb also limits the rate at which a player can [[breaking|break]] blocks. Like [[water]], falling into a cobweb prevents a player from taking [[fall damage]], meaning a fatal fall can be mitigated with cobwebs. Attacking while falling through cobwebs counts as a critical hit, the same as when falling after a jump.

[[Items]] thrown into a cobweb are slowed and fall through it after a maximum of about 24 seconds depending on where it enters. They do not merge with other items of the same type thrown on the ground.

Cobwebs have different effects on moving [[entity|entities]]. A [[falling block]] that enters a cobweb slows down, then drops as an item after existing for 30 seconds.{{only|java}} An [[arrow]] shot at a cobweb passes through without being slowed.

A [[minecart]] with no players in it takes about 9 seconds to fall through a cobweb if a [[rail]] is placed directly under the cobweb, however, if there is air between the cobweb and the rail, the minecart takes about 34 seconds to fall. Every extra cobweb added gives an additional 25 seconds of falling time. Players are unaffected by cobwebs when in a minecart unless they come into direct contact.

Cobwebs can be placed before a fall to prevent [[damage|fall damage]].

== Sounds ==
{{Sound table/Block/Normal}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Cobweb
|spritetype=block
|nameid=cobweb
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Cobweb
|spritetype=block
|nameid=web
|id=30
|foot=1}}

== History ==
{{History|java classic}}
{{History||October 23, 2009|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/220964272/new-enemy-type-the-idea-is-that-these-will|[[Notch]] originally planned for [[spider]]s to produce webs.}}
{{History||0.26_SURVIVAL_TEST|{{darkbg|[[File:Cobweb (texture) JE0 BE0.png|32px]]}} A cobweb texture has been added to <code>[[terrain.png]]</code>. It is not currently associated with any block.}}
{{History|java beta}}
{{History||1.5|[[File:Cobweb JE1 BE1.png|32px]] Added cobwebs.
|Cobwebs are unobtainable without inventory editors. 
|Changed texture of cobwebs, based on [[string]] texture instead of a white solid texture.
|Cobwebs [[drops|drop]] only [[string]] when broken using a [[sword]].}}
{{History||1.6|snap=Test Build 3|Prior to this, cobwebs had no tooltip when hovered over.
|Cobwebs now [[suffocate]] the [[player]] and [[mob]]s like solid [[block]]s if entered.}}
{{History||1.7|Cobwebs now drop string when broken using [[shears]].
|Cobwebs no longer suffocate the player and mobs if entered.}}
{{History||1.8|snap=Pre-release|[[File:Cobweb JE2.png|32px]] Changed lighting. Cobweb now [[Opacity|obstruct lighting]].
|New [[structures]] have been introduced that incorporate cobwebs: [[mineshaft]]s, especially near their [[cave spider]] spawners, and [[stronghold]]s, especially in the libraries.}}
{{History|java}}
{{History||1.2.1|snap=12w06a|Cobwebs now completely absorb all fall [[damage]].}}
{{History||1.4.4|snap=pre|Cobwebs no longer slow down flying players in [[Creative]].}}
{{History||1.4.6|snap=12w49a|Cobwebs can be now obtained in [[Survival]] with the [[Silk Touch]] enchantment on [[shears]] or a [[sword]]. In Survival mode, however, [[shears]] can be enchanted with Silk Touch to obtain cobwebs.}}
{{History||1.9|snap=15w43b|Cobwebs can now be found in [[igloo]] basements.}}
{{History|||snap=15w47c|[[Silk Touch]] is no longer required to obtain cobweb when using [[shears]].}}
{{History|||snap=15w49a|Cobwebs now catch [[ender pearl]]s, [[snowball]]s, [[egg]]s, [[bottles o' enchanting]] and thrown [[potion]]s as the corresponding [[drops|dropped]] [[item]]s.}}
{{History|||snap=15w49b|Cobwebs no longer catch thrown projectiles as dropped items.}}
{{History||1.10|snap=16w20a|Cobwebs now generate in [[abandoned village]]s.}}
{{History||1.11|snap=16w39a|Cobwebs now generate in [[woodland mansion]]s.}}
{{History||1.14|snap=18w43a|[[File:Cobweb JE3.png|32px]] Changed texture.}}
{{History||1.17|snap=21w06a|Floating cobwebs no longer generate in mineshafts.}}
{{History|||snap=21w11a|[[File:Cobweb JE4.png|32px]] Changed lighting.}}
{{History||1.18|snap=21w39a|[[File:Cobweb JE5.png|32px]] The default [[brightness]] has been changed from "Moody" to 50.}}

{{History|pocket alpha}}
{{History||v0.5.0|[[File:Cobweb JE1 BE1.png|32px]] Added cobwebs.
|Cobwebs are unobtainable without inventory editors.}}
{{History||v0.8.0|snap=build 6|Cobwebs have been added to the [[Creative inventory]].}}
{{History||v0.9.0|snap=build 1|Cobwebs now spawn naturally in [[mineshaft]]s.
|Added smooth lighting to cobwebs.}}
{{History||v0.12.1|snap=build 1|Cobwebs can be now obtained in [[Survival]] with the [[Silk Touch]] enchantment on [[shears]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Cobwebs can now be found in [[igloo]] basements.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Cobwebs now generate in [[woodland mansion]]s.}}
{{History|||snap=alpha 1.1.0.3|Cobwebs can now be crafted into 9 [[string]].}}
{{History||?|Breaking cobweb no longer require [[shears]] with the [[Silk Touch]] enchantment.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cobweb JE2 BE2.png|32px]] Changed texture.}}
{{History||1.20.10|snap=beta 1.20.10.20|Cobwebs can no longer be crafted into nine [[string]]s.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Cobweb JE1 BE1.png|32px]] Added webs.}}
{{History||xbox=TU57|xbone=CU49|ps=1.56|wiiu=Patch 27|switch=1.0.7|Webs can now be crafted into 9 [[string]].}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|"Webs" have been renamed to "cobwebs".}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Cobweb JE2 BE2.png|32px]] Changed texture.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Cobweb JE1 BE1.png|32px]] Added cobwebs.}}
{{History|foot}}

=== Data history ===
{{History|java}}
{{History||1.13|snap=17w47a|The ID has been changed from <code>web</code> to <code>cobweb</code>.
|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 30.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
Mineshaft with fences.png|Naturally occurring cobwebs in [[mineshaft]]s.
Stronghold Library.png|Cobwebs also naturally occur in [[stronghold]] libraries.
Igloobasement.png|A naturally generated cobweb in an [[igloo]] basement.
CobwebVillage.png|A cobweb found in an abandoned savanna village.
Woodland mansion 1x1 as2.png|Naturally generated cobwebs in a [[woodland mansion]] room.
</gallery>

== Notes ==
{{notelist|fn}}

== External Links ==
*[https://www.minecraft.net/en-us/article/block-week--cobweb Block of the Week: Cobweb] – Minecraft.net on December 21, 2020

{{blocks|vegetation}}

[[Category:Natural blocks]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]
[[Category:Bedrock Edition specific information]]

[[cs:Pavučina]]
[[de:Spinnennetz]]
[[es:Telaraña]]
[[fr:Toile d'araignée]]
[[hu:Pókháló]]
[[it:Ragnatela]]
[[ja:クモの巣]]
[[nl:Spinnenweb]]
[[pl:Pajęczyna]]
[[pt:Teia de aranha]]
[[ru:Паутина]]
[[uk:Павутиння]]
[[zh:蜘蛛网]]
