Cocoa Beans command
minecraft:cocoa_beansEnglish name Cocoa Beans
Cocoa Beans (minecraft:cocoa_beans) can be stacked up to 64.Here are common commands for giving, clearing, and checking. Click "Copy" to use one.
Common Commands
Give the nearest player 1 Cocoa Beans
/give @p minecraft:cocoa_beans
Give a stack (64)
/give @p minecraft:cocoa_beans 64
Give all players
/give @a minecraft:cocoa_beans
Gold Name
/give @p cocoa_beans[custom_name={translate:"item.minecraft.cocoa_beans",color:"gold",italic:false}]To use a name of your own, replace the translate part with plain text
Clear all Cocoa Beans from the player
/clear @p minecraft:cocoa_beans
Check if holding Cocoa Beans
/execute as @a if items entity @s weapon.mainhand minecraft:cocoa_beans run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.cocoa_beans"}]Basic Information
- Item ID
- minecraft:cocoa_beans
- Max Stack Size
- 64
- Type
- Item
Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.