Throughout this period , the east coast states enjoyed a relatively tranquil prosperity , Terengganu notably thriving from its textile industry and trading in pepper and gold with the Thais , Cambodians , and Chinese .
States along the eastern coast were wracked with war and famine during this time .