Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-278035

Using a trident with Riptide to fly towards a mob and quickly switching to Spectator mode causes the player to spectate said mob

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w44a, 1.21.3
    • None
    • Confirmed
    • Player

      Flying towards a mob using a trident enchanted with Riptide and switching to Spectator mode right before hitting the mob causes the player to spectate the mob instead.

      How to reproduce:

      1. Give yourself a trident enchanted with Riptide.
      2. Execute the following command:
        /weather rain
      3. While inside a biome where it can rain, summon any mob.
      4. Move around 15 blocks away from the mob (to give yourself time to switch game modes before hitting it).
      5. Make sure you are in a game mode other than Spectator.
      6. Look towards the mob.
      7. Throw the trident towards the mob and very quickly press F3+N to switch to Spectator mode.
        You are now spectating the mob.

      Expected result:

      A player in Spectator mode flying towards a mob using a trident with Riptide would just fly through the mob and nothing special would happen.

      Observed result:

      A player in Spectator mode flying towards a mob using a trident with Riptide starts spectating the mob as soon as they reach it.

            Unassigned Unassigned
            Gullyman4 The Gullyman 4
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: