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

Most player abilities stored in player data are ignored on reload

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.20.4, 24w09a
    • None
    • Unconfirmed
    • (Unassigned)

      Player data, when stored to disk in either the playerdata folder or level.dat, stores various player abilities in the abilities tag. When editing these files with external tools, I would expect these values to apply when loading into the game. However, the majority are ignored and reset to their respective gamemode defaults.

      Ability Loaded from Disk
      flying
      flySpeed
      instabuild
      invulnerable
      mayBuild
      mayfly
      walkSpeed

      Provided is a world with an edited level.dat such that mayfly is set to 1, and the player's gamemode is survival.

      Expected functionality:

      The player is able to use creative flight in survival mode.

      Actual functionality:

      The player is not able to use creative flight in survival mode.

            Unassigned Unassigned
            Captain_S0L0 Captain_S0L0
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: