Ducks are background 小动物. As all other critters, they have 5 health, no defense, and are often killed instantly by other mobs or the player. Their counterpart is the 野鸭.
Ducks can usually only spawn in the middle third of the above-ground world, or in areas near an NPC 房屋 if water is present. They only appear in pools of water, despite their size or if they are naturally generated. They quite frequently make a "quack" sound when nearby.
Ducks can be caught using a 虫网. They can be carried around in the inventory until placed (released), deleted, or crafted into a 鸭笼. Caged ducks can be used as furniture and cannot be released once crafted. They also move around inside the cage.
The Duck Cage occupies a 6x3 space. The Duck inside may follow the following patterns randomly:
Run from one side to the other of the cage
Briefly clean itself with its beak while at the right side