The change is synchronized with your Microsoft account. Your Minecraft account is tied to a Microsoft account, and your username is essentially your display name on that platform.
How to Rename Your Minecraft Account and Change Your Username
Enter your new desired username and save the changes. Username Rules to Remember Rule Detail Length 3 to 16 characters Allowed Characters Letters, numbers, and underscores Prohibited Content Profanity or impersonation Checking if the Change Was Successful After you have changed your display name on Microsoft and launched the game, you might not see the update immediately.
Click on "Edit profile" next to your current display name. If your name does not change right away, try logging out of the launcher entirely and signing back in.
How Rename Minecraft Account and Update Your Display Name
Go to "Profile" or "Account" depending on your platform. Select "Change Profile" and then choose "Rename.
More About How to change username on minecraft
Looking at How to change username on minecraft from another angle can help expand the discussion and give readers a second clear paragraph under the same section.
More perspective on How to change username on minecraft can make the topic easier to follow by connecting earlier points with a few simple takeaways.