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

Losing control of a ridden mob with levitation and then re-gaining control causes levitation to persist indefinitely

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.20 Pre-release 5
    • 1.20 Pre-release 4
    • None
    • Confirmed
    • Mob behaviour
    • Important
    • Platform

      When the player has control of a rideable mob (such as guiding a pig with a carrot on a stick), the mob receives the levitation effect, and control is lost (such as by unequipping the carrot on a stick) while the levitation effect is still active, the effect will tick down as normal and the mob will eventually stop levitating. However, regaining control of the mob (in this scenario, re-equipping the carrot on a stick) will cause the entity to resume its upward trajectory indefinitely, even after the effect has been removed.

      Briefly re-applying and removing the levitation effect seems to "remind" the entity, Looney Tunes-style, that the laws of gravity are still very much in effect, returning it swiftly to the ground below (provided the aforementioned chain of events does not occur in the process.)

            timurn [Mojang] Timur Nazarov
            KirbAvion Kirven Avion
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: