Minecraft Wiki
Advertisement

Java Edition:

Name Default value Allowed values Description
facingnortheast
north
south
west
The direction from the output side to the input side of the comparator,
or the opposite from the direction the player faces while placing the comparator.
modecomparecompare
subtract
Specifies the current mode of the redstone comparator.
poweredfalsefalse
true
True if the redstone comparator is being powered.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
direction
(Deprecated)
0x1
0x2
00
1
2
3
0
1
2
3
The direction the repeater directs power.
  • 0: Facing north.
  • 1: Facing east.
  • 2: Facing south.
  • 3: Facing west.
minecraft:cardinal_directionNot Supportedsoutheast
north
south
west
UnsupportedThe direction from the output side to the input side of the comparator,
or the opposite from the direction the player faces while placing the comparator.
output_lit_bit0x8falsefalse
true
0
1
True if the redstone comparator is being powered.
output_subtract_bit0x4falsefalse
true
0
1
Specifies the current mode of the redstone comparator.
Advertisement