An option in the crafting menu. With this you can turn any raw type of cotton into cotton + seeds of Cotton.