Cobweb is a block that resembles a spider web and significantly slows down entities that pass through it, including players, mobs, and items. It can be collected with shears or a sword enchanted with Silk Touch. When destroyed without the appropriate tool, it drops string. Cobwebs are often found in abandoned mineshafts, woodland mansions, and strongholds, adding to the atmosphere of these derelict structures and presenting an obstacle for navigation.
The numerical item ID for Cobweb is 30
Numerical item IDs will only work in Minecraft versions below 1.13.
The item ID for Cobweb is minecraft:cobweb
This is the spawn command to give yourself Cobweb in Minecraft which includes the Minecraft /give command. If you are using the Essentials plugin you will need to use /minecraft:give instead of /give