[MC-5736] The toggling of the comparator does nothing. Created: 03/Jan/13  Updated: 19/Mar/17  Resolved: 03/Jan/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w01a
Fix Version/s: None

Type: Bug
Reporter: Sebastian Schmidt Assignee: Unassigned
Resolution: Works As Intended Votes: 1
Labels: redstone, redstone-comparator
Environment:

Ubuntu 12.10, OpenJDK


Attachments: PNG File 2013-01-03_11.43.03.png     PNG File 2013-01-03_11.43.06.png     PNG File wkbde.png    
Issue Links:
Duplicate
is duplicated by MC-5785 Comparator Issue Resolved
is duplicated by MC-5808 Redstone comparitor setting issue Resolved
Relates
relates to MC-5931 Comparator isn't consistent when togg... Resolved
Confirmation Status: Unconfirmed
Game Mode: Creative

 Description   

The toggle feature of the Comparator block is not working. I have tested any direction, the signal strength of the output is always the same as the strength of the input. It doesn't subtract either.

The one-clock in the wkbde.png image seems to work, though.



 Comments   
Comment by Sebastian Schmidt [ 03/Jan/13 ]

@Jonathan Haas: That's what I'm thinking now. But it's just a snapshot, so ...

Comment by Jonathan Haas [ 03/Jan/13 ]

So toggling the torch only affects the output if another comparator points at the comparator? That doesn't seem to be very intuitive. Redstone stuff is complicated enough already. Why does the B signal need a comparator there? Why can't you just point redstone dust at it which has different signal strengths on it's own?

Comment by Sebastian Schmidt [ 03/Jan/13 ]

Thank you! Now I got it

Comment by [Mojang] Nathan Adams [ 03/Jan/13 ]

You can use whatever value for B you want. Use a comparator instead of a repeater so that you keep the signal.

Comment by Sebastian Schmidt [ 03/Jan/13 ]

Ah, I exchanged B and A. So it's like an analogue inverter. It would be nice if you didn't need a repeater and could use different values for B.

Comment by [Mojang] Nathan Adams [ 03/Jan/13 ]

See http://dinnerbone.com/media/uploads/2013-01/screenshots/Minecraft_2013-01-03_21-19-52.png

A comparator will only ever provide full output if you're giving it full input.

Comment by [Mojang] Nathan Adams [ 03/Jan/13 ]

No.

A == Input from front.
B == Strongest input from side given through another comparator.
O == Output from back.

Repeat mode (Default):
O = A

Subtract mode (Right click):
O = B - A

You can only provide B using another comparator pointed towards the side of this comparator, much like you would lock a repeater.

Comment by Jonathan Haas [ 03/Jan/13 ]

How will that work as a repeater or comparator will always provide full redstone output? I haven't worked out a single layout where switching the torch on or off would change anything output-wise.

Comment by Sebastian Schmidt [ 03/Jan/13 ]

So the toggling is useless and only the block type of the input changes the function?

Comment by [Mojang] Nathan Adams [ 03/Jan/13 ]

B needs to be provided with a type of diode (repeater or comparator).

Comment by Sebastian Schmidt [ 03/Jan/13 ]

This seems to work though.

Comment by Tails [ 03/Jan/13 ]

Reopening cause of: https://twitter.com/Dinnerbone/status/286924270779629568
https://twitter.com/Dinnerbone/status/286925049125015552.

Comment by Sebastian Schmidt [ 03/Jan/13 ]

@Robin: Yes, I can confirm that.

Comment by Robin [ 03/Jan/13 ]

For me it doesn't subtract either. I have input A which is 14 and input B which is 12. The output is always 14 even when I toggle the comparator. It should be 2 when the comparator is toggled (subtracted: Output = A - B)

Comment by [Mojang] Nathan Adams [ 03/Jan/13 ]

Toggled state is now "subtraction" mode. In this mode, O=A-B. You're giving or A but no B, and A-0 == A.

Comment by Clayton Fasenmyer [ 03/Jan/13 ]

Toggling does not increase signal on comparator.

Generated at Sun Jan 12 12:08:53 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.