The Cobweb is a special block that slows down entities moving through it.
Cobwebs are intangible in the sense that the player can move through: they do not have a collision box.
But cobwebs do have an "effect box" that is 0.001b smaller than a full block. If the player's bounding box intersects with this effect box, their velocity will be set to 0 and their movement will be hindered.
In particular, the player is able to stand next to a cobweb if they are at most 0.001m away from the edge.
In that case, the player is able to move normally while "touching" the cobweb's borders.
Effect on Movement
Vertical speed is slowed down by a factor of 20, and is reset on every tick.
Jumping is severely limited, and reaches just 0.021m in height.
The player will then immediately start falling at a constant speed of -0.00392 m/t.
Horizontal speed is slowed down by a factor of 4, and is reset on every tick.
This means the player will move at a constant speed of 0.03185 m/t when sprinting on ground, or 0.00637 m/t while airborne.
- 0.42 / 20
- (-0.08*0.98) / 20
- (0.098 * 1.3 * 0.2) / 4
- (0.1 * 1.3 * 0.2) / 4