mojira.dev
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

Linked issues

Comments 2

Thank you for your report!
We're tracking this issue in MC-195830, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

bug-tr4cker

(Unassigned)

Unconfirmed

(Unassigned)

command

1.21.3

Retrieved