Lamington

The Lamington 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 Lamington 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 Lamington will emit a signal of 14, and a half eaten Lamington will emit a signal of 7.