{{Infobox block
| transparent = '''[[JE]]''': Partial <small>(diffuses sky light)</small><br>'''[[BE]]''': Yes
| light = No
| tool = shears
| tool2 = sword
| renewable = Yes
| stackable = Yes (64)
| waterloggable = {{jebe|No|Yes}}
| flammable = No
| lavasusceptible = No
}}
A '''cobweb''' is a block that slows down entity movements.

== Obtaining ==
=== Breaking ===
Cobwebs can be obtained as an item using [[shears]]. Cobwebs can also be obtained with a sword enchanted with [[Silk Touch]], which is possible only through commands or while in Creative mode{{only|JE|short=1}}. A cobweb drops one piece of [[string]] if broken with a non-Silk Touch sword, or if [[water]] touches or flows over it, or a [[piston]] pushes it. Breaking cobwebs costs two durability on a sword. 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, [[woodland mansion]] spider spawner rooms, and [[trial chambers]] around specific [[trial spawner]]s.

=== Post-generation ===
When an [[entity]] with the effect of [[Weaving]] is killed, the game attempts to place cobwebs nearby.

== 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.

=== 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.

A cobweb affects the [[player]]'s movement abilities, as well. While in contact with it, the player can move at a speed of about 25% of the normal [[Player#Movement|walking]] speed and their [[jumping]] height is severely reduced. A cobweb also limits the rate at which a player can [[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.

Players and mobs affected by the [[Weaving]] effect move through cobwebs at 50% of their normal speed instead of 25%.

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.

[[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 other moving [[entities]]. An [[arrow]] shot at a cobweb passes through without being slowed. {{IN|java}}, a [[falling block]] that enters a cobweb slows down, then drops as an item after existing for 30 seconds.

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.

=== Brewing ingredient ===
{{Brewing
  |head=1
  |Cobweb
  |Mundane Potion
  |base=Water Bottle
}}
{{brewing
  |foot=1
  |showname=1
  |Cobweb
  |Potion of Weaving
}}

== Sounds ==
{{edition|Java}}:
{{Sound table/Block/Cobweb/JE}}
{{edition|Bedrock}}:
{{Sound table/Block/Cobweb/BE}}

== 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 ==
{{HistoryTable
|{{HistoryLine|java classic}}
|{{HistoryLine||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.}}
|{{HistoryLine||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.}}
|{{HistoryLine|java beta}}
|{{HistoryLine||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 [[drop]] only [[string]] when broken using a [[sword]].}}
|{{HistoryLine||1.6|dev=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.}}
|{{HistoryLine||1.7|Cobwebs now drop string when broken using [[shears]].
|Cobwebs no longer suffocate the player and mobs if entered.}}
|{{HistoryLine||1.8|dev=Pre-release|[[File:Cobweb JE2.png|32px]] Changed lighting. Cobwebs 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.}}

|{{HistoryLine|java}}
|{{HistoryLine||1.2.1|dev=12w06a|Cobwebs now completely absorb all fall [[damage]].}}
|{{HistoryLine||1.4.4|dev=pre|Cobwebs no longer slow down flying players in [[Creative]].}}
|{{HistoryLine||1.4.6|dev=12w49a|Cobwebs can be now obtained in [[Survival]] with the [[Silk Touch]] enchantment on [[shears]].}}
|{{HistoryLine||1.9|dev=15w43b|Cobwebs can now be found in [[igloo]] basements.}}
|{{HistoryLine|||dev=15w47c|[[Silk Touch]] is no longer required to obtain cobweb when using [[shears]].}}
|{{HistoryLine|||dev=15w49a|Cobwebs now catch [[ender pearl]]s, [[snowball]]s, [[egg]]s, [[bottles o' enchanting]] and thrown [[potion]]s as the corresponding dropped [[item]]s.}}
|{{HistoryLine|||dev=15w49b|Cobwebs no longer catch thrown projectiles as dropped items.}}
|{{HistoryLine||1.10|dev=16w20a|Cobwebs now generate in [[abandoned village]]s.}}
|{{HistoryLine||1.11|dev=16w39a|Cobwebs now generate in [[woodland mansion]]s.}}
|{{HistoryLine||1.14|dev=18w43a|[[File:Cobweb JE3.png|32px]] Changed texture.}}
|{{HistoryLine||1.17|dev=21w06a|Floating cobwebs no longer generate in mineshafts.}}
|{{HistoryLine|||dev=21w11a|[[File:Cobweb JE4.png|32px]] Changed lighting.}}
|{{HistoryLine||1.18|dev=21w39a|[[File:Cobweb JE5.png|32px]] The default [[brightness]] has been changed from "Moody" to 50.}}
|{{HistoryLine||1.20.5|dev=24w13a|Cobwebs now have their own unique sounds.}}
|{{HistoryLine||1.20.5|dev=24w13a|exp=Update 1.21|Cobwebs are now spawned by entities affected by [[Weaving]] upon death, making them [[renewable]].
|Cobwebs can now be used to [[brew]] potions of Weaving.}}

|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.5.0|[[File:Cobweb JE1 BE1.png|32px]] Added cobwebs.
|Cobwebs are unobtainable without inventory editors.}}
|{{HistoryLine||v0.8.0|dev=build 6|Cobwebs have been added to the [[Creative inventory]].}}
|{{HistoryLine||v0.9.0|dev=build 1|Cobwebs now spawn naturally in [[mineshaft]]s.
|Added smooth lighting to cobwebs.}}
|{{HistoryLine||v0.12.1|dev=build 1|Cobwebs can be now obtained in [[Survival]] with the [[Silk Touch]] enchantment on [[shears]].}}
|{{HistoryLine|pocket}}
|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Cobwebs can now be found in [[igloo]] basements.}}
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|Cobwebs now generate in [[woodland mansion]]s.}}
|{{HistoryLine|||dev=alpha 1.1.0.3|Cobwebs can now be crafted into 9 [[string]].}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.2.3|dev=release|[[Silk Touch]] is no longer required to obtain cobweb when using [[shears]]}}
|{{HistoryLine||1.10.0|dev=beta 1.10.0.3|[[File:Cobweb JE2 BE2.png|32px]] Changed texture.}}
|{{HistoryLine||1.20.10|dev=Preview 1.20.10.20|Cobwebs can no longer be crafted into nine [[string]]s.}}
|{{HistoryLine||1.21.0|dev=Preview 1.21.0.20|exp=Update 1.21|Cobwebs are now spawned by entities affected by [[Weaving]] upon death, making them renewable.
|Cobwebs can now be used to [[brew]] potions of Weaving.
|Cobwebs now have their own unique sounds.}}
|{{HistoryLine||1.21.50|dev=Preview 1.21.50.20|[[Mace]]s no longer mine cobwebs faster than other non-sword tools.|Destroying a cobweb with a mace no longer drops string.}}

|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Cobweb JE1 BE1.png|32px]] Added webs.
|Webs are currently unobtainable.}}
|{{HistoryLine||xbox=TU3|[[File:Cobweb JE2.png|32px]] Changed lighting. Webs now [[Opacity|obstruct lighting]].}}
|{{HistoryLine||xbox=TU5|Webs are now available in both [[Creative]] and [[Survival]].}}
|{{HistoryLine||xbox=TU19|xbone=CU7|ps3=1.12|psvita=1.12|ps4=1.12|dev=pre|Webs no longer slow down flying players in [[Creative]].}}
|{{HistoryLine||xbox=TU43|xbone=CU33|ps3=1.36|psvita=1.36|ps4=1.36|wiiu=Patch 13|switch=1.0.1|Cobwebs can now be found in [[igloo]] basements.|[[Silk Touch]] is no longer required to obtain cobweb when using [[shears]].}}
|{{HistoryLine||xbox=TU54|xbone=CU44|ps3=1.52|psvita=1.52|ps4=1.52|wiiu=Patch 24|switch=1.0.4|Cobwebs now generate in [[woodland mansion]]s.}}
|{{HistoryLine||xbox=TU57|xbone=CU49|ps3=1.57|psvita=1.56|ps4=1.56|wiiu=Patch 27|switch=1.0.7|Webs can now be crafted into 9 [[string]].}}
|{{HistoryLine||xbox=TU69|xbone=none|ps3=1.76|psvita=1.76|ps4=1.76|wiiu=Patch 38|switch=none|"Webs" have been renamed to "cobwebs".}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.90|wiiu=none|switch=none|[[File:Cobweb JE2 BE2.png|32px]] Changed texture.}}

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

=== Data history ===
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||1.13|dev=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.}}
}}

== Issues ==
{{issue list}}

== Gallery ==
=== Renders ===
<gallery>
File:Stronghold Library.png|Cobwebs also naturally occur in [[stronghold]] libraries.
File:Woodland mansion 1x1 as2.png|Naturally generated cobwebs in a [[woodland mansion]] room.
</gallery>

=== Screenshots ===
<gallery>
File:Mineshaft with fences.png|Naturally occurring cobwebs in [[mineshaft]]s.
File:Igloobasement.png|A naturally generated cobweb in an [[igloo]] basement.
File:CobwebVillage.png|A cobweb found in an abandoned savanna village.
</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

== Navigation ==
{{Navbox 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:クモの巣]]
[[ko:거미줄]]
[[nl:Spinnenweb]]
[[pl:Pajęczyna]]
[[pt:Teia de aranha]]
[[ru:Паутина]]
[[uk:Павутиння]]
[[zh:蜘蛛网]]
