The error suggests that the problem lies in the session, and has something to do with the player’s login information or login attempt. The error shows up when you sign in your gaming credentials and attempt to login to any server, personal, or otherwise. I'm using Eclipse to write code and I have it installed in Kubuntu 21.04 if that helps.Minecraft is a massively popular multiplayer game, and having an error that prevents you from connecting online to servers can be incredibly bothersome and ruin your playtime. The variable mc is linked to Minecraft.getInstance. This.mc.session = new Session(auth.getSelectedProfile().getName(), auth.getSelectedProfile().getId().toString(), auth.getAuthenticatedToken(), "mojang") I don't know what you're meaning with this, I've looked around in the Minecraft.class, but I didn't find any matching types.įor this reason I've deleted all of that variables in the library, so I was able to compile my code.īy the way that's the code I'm using for the authentication:Ĭom.().updateService(AlteningServiceType.THEALTENING) įinal YggdrasilUserAuthentication auth = (YggdrasilUserAuthentication) new YggdrasilAuthenticationService(Proxy.NO_PROXY, "").createUserAuthentication(Agent.MINECRAFT) Īuth.setUsername(()) In the Examples was written "/ 1.16 and above has a sessionService field in Minecraft class, recommended to switch/" but What should I input at "Consumer afterSwitching" in the method ".theAltening()"?.So I implemented the Library from the branch "3.0-1.16". I've decided to make an 1.16.5 Minecraft client, in which I wanted to have an "TheAltening" login.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |