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
    • 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.

            Unassigned Unassigned
            cxc81 cxc81
            Votes:
            6 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: