Worm AI

Creatures with Worm AI typically follow one distinct pattern.

Worms can burrow through all block types as well as lava and water, and cannot be drowned or burned by lava. They usually consist of multiple body pieces, one head segment (which has more attack but less health and defense), and one tail piece (which has less attack but more defense and health). Defeating one section of a worm kills all sections instantly, except for the Eater of Worlds, which splits into multiple smaller worms. They make a particular noise when burrowing that sounds somewhat like a steam engine, and increases in frequency as the worm approaches the player.