Cocoa Beans (the item) got the name Cocoa (the block, originally) in the inventory.
Linked issues
Comments 4
The translation for item.minecraft.cocoa_beans
is still "Cocoa Beans," however the item appears to be using the translation block.minecraft.cocoa.
Verified with a resource pack that changes the latter but leaves the former alone.
Confirmed. The changelog of snapshot 18w43a says (thats when the name changed):
Otherwise, it would have been called just
Cocoa
in the changelog.