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

Eating doesn't reduce vertical swimming speed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.18.2
    • None
    • Unconfirmed
    • (Unassigned)

      The bug

      When sprint-swimming and jumping at the same time while aiming directly upwards, the speed of ascension is about 6.98 blocks per second. When eating, pulling back bow, blocking with shield or doing similar things, the speed of walking, sprinting or swimming is supposed to be reduced. However, this vertical swimming speed is not slowed down by eating at all.

      How to reproduce

      • Run the following commands.
        /execute at @p align xyz run tp @p ~0.5 ~ ~0.5 0 -90
        /execute at @p run fill ~-1 ~-1 ~-1 ~1 ~100 ~1 glass
        /execute at @p run fill ~ ~ ~ ~ ~100 ~ water
        /item replace entity @p weapon with apple
        /gamemode survival @p
        /gamemode creative @p
        
      • Turn on the debug screen by hitting F3.
      • Press sprint (default left Ctrl), forward (default W) and jump (default Space) at the same time. Notice from the y-level on the debug screen that the player is swimming upward at the speed of roughly 7 blocks per second.
      • Press use (default right mouse button). the player now starts continuously eating the apple.
      • Notice that the player's rate of ascension has not changed, even though they are eating constantly.

            Unassigned Unassigned
            windwend windwend
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: