Sugar cane can be place above dirt and sand like above the surface, but underwater (the sugar cane replace water)
To reproduce it, you need to place sugar cane above dirt or sand, with full water blocks against the sand/dirt block where you place your sugar cane.
Linked issues
duplicates 1
Attachments
Comments 2
This issue is already being tracked in MC-929, so I have resolved this report as a duplicate. Please make sure to search for existing reports before creating a new one.
Thank you for helping us improve Minecraft! We saved your files: