


Note however that commands cannot be used on these names as it does not recognize them as valid.

Change the name field to any string of characters.This object controls the ID and display name of the current Minecraft profile account.Locate the minecraftProfile object with fields id and name.In earlier versions of the Minecraft launcher (before Dungeons was added to the main launcher), the file is instead launcher_profiles.json.Open file launcher_accounts.json in a text editor such as Notepad.This is located at %APPDATA%\.minecraft on Windows, ~/Library/Application Support/minecraft on macOS, and ~/.minecraft on Linux.Note that this only works offline, in singleplayer – you will not be able to join any online mode multiplayer servers under any situation in any name you have not purchased and will be prevented from joining any online mode multiplayer servers if your client username does not match.
#Play minecraft free mac offline how to#
This tutorial will show you how to load up multiple instances of Minecraft with different usernames on the same computer to join the same world via LAN. As shown here, the usernames can be any string of characters, although this will break commands.Įvery so often there comes a time where you need to test out a multiplayer map in singleplayer and you don't have quick access to other accounts. Having alternate accounts is useful for testing multiplayer maps in singleplayer. This tutorial is exclusive to Java Edition.
