Comparator Mode
Indicates the mode that a block this property is applied to is operating under.
Comparators have three input sides, and two inputs. The back is the main input, which is the side with two torches. The left and right are combined in to the secondary input, by taking the maximum of them.
Comparators have two different modes that change their behaviour, which are described on their respective enum constants.
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.