Coke Block is a condensed block based form of Coke. It was added in 1.4.0 as part of the Useful Update.
You can get a Coke Block by crafting nine Coke as shown below.
Crafting nine Coke to get a Coke Block