Minecraft wiki entry for Redstone_Comparator, associated text: The redstone comparator has four functions: maintain signal strength, compare signal strength, subtract signal strength, and measure certain block states (primarily the fullness of containers).