Sugar Canes are tall, green plants that naturally grow near water in various biomes. Players can harvest them to produce sugar, an ingredient for making cakes and potions, or to craft paper, essential for books and maps. When planted on dirt, sand, or grass blocks adjacent to water, they can grow up to three blocks high and can be easily farmed by repeatedly harvesting the upper segments, leaving the bottom one to regrow.
The numerical item ID for Sugar Canes is 338
Numerical item IDs will only work in Minecraft versions below 1.13.
The item ID for Sugar Canes is minecraft:sugar_cane
This is the spawn command to give yourself Sugar Canes in Minecraft which includes the Minecraft /give command. If you are using the Essentials plugin you will need to use /minecraft:give instead of /give