Lancang were primarily used for war and as merchant vessels. Portuguese records mentioned their use as
barges or
lighters. The intercourse with European people decreased
Singaporean piracy in 1820s, although it still exist, using smaller ships than formerly used, for several decades to come. Around Singaporean waters, Malay pirates used
lanchang carrying 25–30 men, with shallow draft, making them easy to conceal in mangroves. They generally used
lancang between 15 and 18 m long, 3.4–4 m in beam, and with 1.5–2.1 m draft. In the 20th century, Malay states used
lancang as cargo boats. Along the Sumatran coast,
ethnic Malay rajas (kings) used them as state ships. In
Selangor, this royal vessel is dedicated to the service of the spirits, also called
kapal hantu (ghost ship), which are laden with offerings, then set adrift to propitiate the demons of the sea. In Sumatra and Kalimantan,
lancang play an important role in harvesting ceremonies and sometimes the boats are used in offering ceremonies to the god. Sometimes dragon heads are carved on the bow as a representation of power that maintains humans' safety. ==In traditional culture==