Under the Ming dynasty, the Chinese developed massive ships called junks that could carry 500 people and had watertight compartments. They also invented the magnetic compass, allowing for longer sea voyages. The Chinese invented paper and block printing, which led to widespread literacy as books became cheaper and more schools opened. They were also the first to discover gunpowder in the 900s and its uses later spread to other parts of the world. Confucianism became the dominant philosophy, emphasizing social order, family values, and respect for authority. Chinese innovations in technology, culture, and thought influenced neighboring regions like Korea, Japan, and Vietnam.