Minecraft wiki entry for Redstone_Comparator, associated text: A redstone comparator treats certain blocks behind it as power sources and outputs a signal strength proportional to the block's state. The comparator may be separated from the measured block by a solid block. However, in Java Edition, if the solid block is powered to signal strength 15, then the comparator outputs 15 no matter the fullness of the container.[1]