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

Exiting the end portal resets player attributes to their default values


    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w20a
    • 20w18a, 20w48a, 20w51a, 21w03a, 1.16.5, 21w06a, 21w08b, 21w18a, 1.17, 1.17.1, 1.18.1, 1.18.2, 1.19, 1.19.2, 22w42a, 1.19.3, 1.19.4, 1.20.1, 23w31a, 23w33a, 1.20.2
    • None
    • Confirmed
    • Commands, Player
    • Normal
    • Platform

      I had altered my own minecraft:generic.attack_damage base value to 5.0 before fighting the Ender Dragon. After defeating the dragon and returning through the portal to the overworld, I skipped the credits. Shortly thereafter I went to kill a chicken and discovered my unarmed damage was back to default. I confirmed with "/attribute @s minecraft:generic.attack_damage get" that it was back to 1.0. 

      Additional testing shows it retains the value when I enter The End, but resets it when I travel back through the return portal a second time. Altered attributes also reset if you die and respawn, which makes sense, but it doesn't make sense to do it when returning from The End. I also tested it with a Respawn Anchor set in the Nether, and again attributes get reset when returning from The End. (At least it isn't using up a charge any more!)

      Steps to Reproduce:
      1. Use "/attribute" command for example like this: "/attribute @p minecraft:generic.max_health base set 40"
      2. Return back from End after defeating Ender Dragon
      3. All attributes reset back to original. Something interesting about it is that how many HP you had is still visually visible, but it is actually reset

            TommyWallberg [Mojang] TommyWallberg
            mouseasw Martin Carney
            23 Vote for this issue
            13 Start watching this issue