Carrot Cake (Pam's HarvestCraft)

The Carrot Cake is a food block added by Pam's HarvestCraft. Similar to the vanilla Cake, it can be placed, and right-clicking it will eat a slice. There are 6 slices total, and each slice will restore 2 hunger.

Comparator usage
The Carrot Cake has integration with the Redstone Comparator. The Redstone Comparator will emit a signal proportional to the amount of the cake eaten. For example, an uneaten Carrot Cake will emit a signal of 14, and a half eaten Carrot Cake will emit a signal of 7.