-
Bug
-
Resolution: Fixed
-
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
- is caused by
-
MC-179940 Player's attributes reset back to default values upon respawning
- Resolved
- is duplicated by
-
MC-225280 All attributes edited using "/attribute" command reset after going back from End
- Resolved
-
MC-261667 Generic max health bug when exiting the end dimension
- Resolved
-
MC-263492 Health bar cannot reset when entering the exit portal with health boost
- Resolved
-
MC-267069 "/attribute @s minecraft:generic.max_health base set 6" resets after leaving The End through portal
- Resolved
- relates to
-
MC-6431 Status effects are lost when returning to the overworld from the exit end portal
- Resolved
-
MC-268113 the minecraft:generic.scale attribute is desynchronized when the player leaves the End dimension via an End portal
- Resolved
-
MC-269574 Client attribute values may desync from the server after leaving the end
- Resolved