Minecraft
  1. Minecraft
  2. MC-107410

Observer block outputs single game tick pulse, not single redstone tick pulse

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 16w39a, Minecraft 16w39c
    • Fix Version/s: Minecraft 16w41a
    • Security Level: Minecraft - Public (Viewable by everyone)
    • Labels:
      None
    • Environment:

      Windows 8.1 with current launcher and bundled Java

    • Confirmation Status:
      Confirmed

      Description

      In the Java version, instead of producing a single redstone tick pulse as expected (and as in other versions), the observer block produces a single game-tick pulse.

      This does have the benefit of eliminating update-loops with pistons, however, so it may be WAI?

        Issue Links

          Activity

          Hide
          [Mod] Galaxy_2Alex added a comment -

          May be intentional, PE and PC Edition are seperate and don't necessarily have the exact same features.

          Show
          [Mod] Galaxy_2Alex added a comment - May be intentional, PE and PC Edition are seperate and don't necessarily have the exact same features.
          Hide
          [MCPE Mod] SuperGeniusZeb added a comment -

          Interesting note: because of how short the observer pulse is in Java edition, you can't invert a redstone torch with its signal, whereas in MCPE you can. (You can try this by placing a repeater, then a block, and then a redstone torch on the block on the output side of an observer, and then activating the observer. The redstone torch will invert in MCPE, but not in the Java edition.)

          Show
          [MCPE Mod] SuperGeniusZeb added a comment - Interesting note: because of how short the observer pulse is in Java edition, you can't invert a redstone torch with its signal, whereas in MCPE you can. (You can try this by placing a repeater, then a block, and then a redstone torch on the block on the output side of an observer, and then activating the observer. The redstone torch will invert in MCPE, but not in the Java edition.)
          Hide
          ilmango added a comment -

          Observers do give out 2gt pulses in most cases. The exceptions are observers that are updated by blocks events (block pushed in front of observers) or observers, that are activated by player inputs. This behaviour is similar to other redstone components (pistons). I don't see a reason to fix this, because it would require a rewrite of the order in which things are processed, which in turn would break countless things.

          I also don't see a downside of observers giving 1gt signals in some cases. It's a useful tool, if used correctly and doesn't add confusion for people, that don't know about (see pistons, where exactly the same happens)

          Show
          ilmango added a comment - Observers do give out 2gt pulses in most cases. The exceptions are observers that are updated by blocks events (block pushed in front of observers) or observers, that are activated by player inputs. This behaviour is similar to other redstone components (pistons). I don't see a reason to fix this, because it would require a rewrite of the order in which things are processed, which in turn would break countless things. I also don't see a downside of observers giving 1gt signals in some cases. It's a useful tool, if used correctly and doesn't add confusion for people, that don't know about (see pistons, where exactly the same happens)
          Hide
          Pi added a comment -

          The title of this bug post is used in the description of the 16w41a snapshot. The problem is that in 16w41a the actual delay is 4 gticks and not just 2 (as the title says). Is that intended?

          Show
          Pi added a comment - The title of this bug post is used in the description of the 16w41a snapshot. The problem is that in 16w41a the actual delay is 4 gticks and not just 2 (as the title says). Is that intended?
          Hide
          [MCPE Mod] SuperGeniusZeb added a comment -

          Pi From my recent observations (pun sort-of intended), it seems that MCPE observers also output a 2 rtick or 4 gtick pulse. Maybe. There are a couple of weird timing bugs in MCPE that may be interfering with my tests, but if this is the case, then the Java edition observer behavior may be intentional. Or both could be bugged and are both supposed to have just a 1ritck pulse. From what the devs have said, the Java edition observers are intended to work like the MCPE observers, unless the MCPE observer behavior is marked as a bug. And as for this... well, I'm not sure.

          Show
          [MCPE Mod] SuperGeniusZeb added a comment - Pi From my recent observations (pun sort-of intended), it seems that MCPE observers also output a 2 rtick or 4 gtick pulse. Maybe. There are a couple of weird timing bugs in MCPE that may be interfering with my tests, but if this is the case, then the Java edition observer behavior may be intentional. Or both could be bugged and are both supposed to have just a 1ritck pulse. From what the devs have said, the Java edition observers are intended to work like the MCPE observers, unless the MCPE observer behavior is marked as a bug. And as for this... well, I'm not sure.
          Hide
          [Mod] Neko added a comment -

          See MC-108697.

          Show
          [Mod] Neko added a comment - See MC-108697 .

            People

            • Assignee:
              [Mojang] Grum (Erik Broes)
              Reporter:
              Zed Ontargs
            • Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: