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

In a dedicated server, when gravity attribute is set from a negative number to 0.08, the player gets kicked for flying

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w33a, 1.21.1, 24w34a, 24w35a, 24w36a, 24w37a, 24w38a, 24w39a, 24w40a, 1.21.2 Pre-Release 1, 1.21.2 Pre-Release 2, 1.21.2 Pre-Release 3, 1.21.2 Pre-Release 4, 1.21.2 Pre-Release 5, 1.21.2 Release Candidate 1, 1.21.2 Release Candidate 2, 1.21.2, 24w44a, 1.21.3, 24w45a, 24w46a
    • None
    • Confirmed
    • Survival
    • Commands, Dedicated Server
    • Normal
    • Platform

      The bug

      In a dedicated server, if you set the attribute gravity to 0 or less, you can stay in the air or float upwards. However, if you change it back to the default value (0.08), you will be instantly kicked out of the game.

      Steps to Reproduce

      1. Set up a dedicated server, using its default settings
      2. Make you float upwards by runningĀ 
        /attribute @s minecraft:gravity base set -0.01
      3. Wait for over 5 seconds
      4. Restore the default gravity by running
        /attribute @s minecraft:gravity base set 0.08

      Observed Results

      You get instantly kicked for flying.

      Expected Results

      You don't get kicked.

            gegy1000 [Mojang] Gegy
            cxc81 cxc81
            Votes:
            9 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: