Details
-
Type:
Bug
-
Status: Open
-
Resolution: Unresolved
-
Affects Version/s: 1.16.1, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5 Release Candidate 1, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08a, 21w08b
-
Fix Version/s: None
-
Confirmation Status:Confirmed
-
Category:Commands, Player, Save Data
-
Mojang Priority:Low
Description
The bug
Although MC-179851 is fixed, the base of the generic.movement_speed attribute when set for players is reset to the default value after relogging the world.
How to reproduce
- Use the following command to give faster movement speed to the player:
/attribute @s minecraft:generic.movement_speed base set 0.2
- Observe the movement speed of the player after relogging the world
→The base is reset to the default value
Workaround
A workaround for the bug would be to use attribute modifiers instead of setting the attribute base:
/attribute @s minecraft:generic.movement_speed modifier add 0-0-0-0-0 generic.movement_speed 1 multiply