Each item in Minecraft has a unique ID assigned to it, known as an item ID, this can be used in commands to spawn the item into the game. The item ID for redstone comparator in Minecraft is shown below:
The Redstone Comparator item can be spawned in Minecraft with the below command. Cheats must be enabled before this will work.
Block states are values assigned to a block that changes its state. For example, many blocks have a "direction" block state which can be used to change the direction a block faces.
Find a table of all blockstates for the Redstone Comparator block below.
|Block State Name
Find thousands more items on our complete list of 1,325 Minecraft IDs.All Item IDs
A redstone comparator can be used to change the strength of a redstone signal. It can also be used to measure things like container fullness and compare signal strengths.
|Max Stack Size
|Min / Max State IDs
|6678 - 6693