Cocoa Beans are tropical pod-like plant items that can be found naturally in jungle biomes, growing on the sides of jungle trees. They can be harvested and used as a dye to color wool and terracotta, or as an ingredient in crafting cookies. Players can also plant and farm them by placing them on the trunk of a jungle tree, where they will go through several stages of growth before being ready to harvest again.
This item has no numerical item ID, therefore you must use the item ID to spawn the item. Numerical item IDs were removed in Minecraft version 1.13.
The item id for Cocoa Beans is minecraft:cocoa_beans
The item ID for Cocoa Beans is minecraft:cocoa_beans
This is the spawn command to give yourself Cocoa Beans 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