According to the list of liquids subject to the Ministry of Land, Infrastructure, Transport and Tourism's quantitative restrictions, it may be difficult to judge for yourself that water yokan is an individual but pudding is a liquid, and cheese is a solid but butter is a liquid ...? Also, kimchi, salted fish, and pickled plums are considered liquid.
In addition, in order to carry liquids subject to quantity restrictions on board, it is necessary to divide them into containers of 100 ml or less and put them in transparent plastic bags with zippers of 1 L or less. I buy the enthusiasm to bring pudding up to that point, but unless it is necessary on board, it seems that it is still a good idea to check it in as checked baggage at the airline counter. Please refer to it once when traveling abroad.