Mojira Archive
MC-278436

Attribute "movement speed" reverts back to default value after exiting and re-entering the game when changed with /attribute

When you do the /attribute command, all modified attributes are supposed to stay at those values. For example, if you type in:

/attribute @s jump_strength base set 1.5

it will stay 1.5 if you exit the game and go back into that world.

However, when you type:

/attribute @s movement_speed base set (any number not 0.1) 

and then you save, quit to title, and go back, it is reset to 0.10000000149011412

________________________________________________________________

Steps to Reproduce:

  1. Go into any Minecraft world
  2. 2. Type /attribute @s movement_speed base set 2
  3. Notice you are extremely fast
  4. Pause the game and click "Save and Quit to Title"
  5. Go back into the same Minecraft world

________________________________________________________________

Expected Result:

You will stay extremely fast and if you do "/attribute @s movement_speed get" it will show 2.0

Observed Result:

You will slow down to the default speed, and if you type in that command mentioned earlier it will show 0.10000000149011412

Duplicate

bug-tr4cker

2024-11-21, 08:27 AM

2024-11-21, 11:40 AM

2024-11-21, 11:35 AM

0

0

Unconfirmed

(Unassigned)

command

1.21.3

-